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

TestInsertBatchContinueOnError failing on latest

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Looks like the latest server (db version v6.0.0-alpha-246-gae0c9cf for this run) has changed some information in its batch write result as CheckExpectedResult in TestInsertBatchContinueOnError is now failing:

      [2022/03/02 19:38:20.634]   Failed MongoDB.Driver.Tests.MongoCollectionTests.TestInsertBatchContinueOnError [41 ms]
      [2022/03/02 19:38:20.634]   Error Message:
      [2022/03/02 19:38:20.634]    Assert.Equal() Failure
      [2022/03/02 19:38:20.634] Expected: True
      [2022/03/02 19:38:20.634] Actual:   False
      [2022/03/02 19:38:20.634]   Stack Trace:
      [2022/03/02 19:38:20.634]      at MongoDB.Driver.Tests.MongoCollectionTests.CheckExpectedResult(ExpectedWriteConcernResult expectedResult, WriteConcernResult result) in C:\data\mci\7179d1a8d9a5f232fab5eb65f9495871\mongo-csharp-driver\tests\MongoDB.Driver.Legacy.Tests\MongoCollectionTests.cs:line 3548
      [2022/03/02 19:38:20.634]    at MongoDB.Driver.Tests.MongoCollectionTests.TestInsertBatchContinueOnError() in C:\data\mci\7179d1a8d9a5f232fab5eb65f9495871\mongo-csharp-driver\tests\MongoDB.Driver.Legacy.Tests\MongoCollectionTests.cs:line 2256
      

      The above was extracted from this patch build log file, but the same test is failing on Linux as well, but not MacOS:

      https://evergreen.mongodb.com/task_log_raw/dot_net_driver_unsecure_tests__version~latest_os~windows_64_topology~standalone_auth~noauth_ssl~nossl_test_net472_patch_8fc07647cfdc6248c12fdbe0f156fedde991fd1b_621fc4a63e8e864cfea4649e_22_03_02_19_25_27/0?type=T&text=true

            Assignee:
            james.kovacs@mongodb.com James Kovacs
            Reporter:
            james.kovacs@mongodb.com James Kovacs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: