Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-2109

Race condition in Drivers.Core.BinaryConnectionTests

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.5
    • Affects Version/s: None
    • Component/s: Testing
    • None

      There appears to be a race condition in Drivers.Core.BinaryConnectionTests that makes the test fail on certain runs and pass on others.

      Specifically: MongoDB.Driver.Core.Connections.BinaryConnectionTests.SendMessageshould_throw_MongoConnectionClosedException_for_waiting_tasks

      On the same patch:
      Failure:
      https://evergreen.mongodb.com/task_log_raw/dot_net_driver_tests__version~2.6_os~windows_64_topology~standalone_auth~auth_ssl~nossl_test_patch_1c20602fb9e95e393c452e91109caa467c541c84_5a15923c2a60ed07c5002abc_17_11_22_15_06_17/0?type=T
      Pass:
      https://evergreen.mongodb.com/task_log_raw/dot_net_driver_tests__version~2.6_os~windows_64_topology~standalone_auth~auth_ssl~nossl_test_patch_1c20602fb9e95e393c452e91109caa467c541c84_5a15923c2a60ed07c5002abc_17_11_22_15_06_17/1?type=T

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            vincent.kam@mongodb.com Vincent Kam (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: