[CSHARP-4083] TestInsertBatchContinueOnError failing on latest Created: 02/Mar/22  Updated: 08/Mar/22  Resolved: 08/Mar/22

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Unknown
Reporter: James Kovacs Assignee: James Kovacs
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
is caused by SERVER-64078 Missing ErrMsg for Multiple Bulk Writ... Closed

 Description   

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



 Comments   
Comment by James Kovacs [ 08/Mar/22 ]

SERVER-64078 has been fixed and merged. Tests against latest on all platforms are now passing again.

Generated at Wed Feb 07 21:47:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.