[CSHARP-3042] Fix test: Change Stream should error when _id is projected out Created: 03/Apr/20  Updated: 06/Apr/20  Resolved: 06/Apr/20

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

Type: Task Priority: Major - P3
Reporter: Robert Stam Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Investigate intermittent failure:

https://evergreen.mongodb.com/task_log_raw/dot_net_driver_unsecure_tests__version~latest_os~windows_64_topology~sharded_cluster_auth~noauth_ssl~nossl_test_patch_2bb94a1593d4a41c1e405b73a72d338f11976fc0_5e874e240ae606687511df52_20_04_03_14_54_29/0?type=T#L3232

 

 [2020/04/03 15:24:36.421] [xUnit.net 00:05:08.42]     MongoDB.Driver.Tests.Specifications.change_streams.ChangeStreamTestRunner.Run(testCase: MongoDB.Driver.Tests.Specifications.change_streams.tests.change-streams-errors.json:Change Stream should error when _id is projected out:async=True) [FAIL]
 [2020/04/03 15:24:36.427] [xUnit.net 00:05:08.43]     MongoDB.Driver.Tests.Specifications.change_streams.ChangeStreamTestRunner.Run(testCase: MongoDB.Driver.Tests.Specifications.change_streams.tests.change-streams.json:Executing a watch helper on a Database results in notifications for changes to all collections in the specified database.:async=True) [SKIP]
 [2020/04/03 15:24:36.429]   ! MongoDB.Driver.Tests.Specifications.change_streams.ChangeStreamTestRunner.Run(testCase: MongoDB.Driver.Tests.Specifications.change_streams.tests.change-streams.json:Test consecutive resume:async=False) [1ms]
 [2020/04/03 15:24:36.429]   ! MongoDB.Driver.Tests.Specifications.change_streams.ChangeStreamTestRunner.Run(testCase: MongoDB.Driver.Tests.Specifications.change_streams.tests.change-streams.json:Test rename and invalidate event types:async=True) [1ms]
 [2020/04/03 15:24:36.429]   ! MongoDB.Driver.Tests.Specifications.change_streams.ChangeStreamTestRunner.Run(testCase: MongoDB.Driver.Tests.Specifications.change_streams.tests.change-streams.json:Test drop and invalidate event types:async=False) [1ms]
 [2020/04/03 15:24:36.430]   ! MongoDB.Driver.Tests.Specifications.change_streams.ChangeStreamTestRunner.Run(testCase: MongoDB.Driver.Tests.Specifications.change_streams.tests.change-streams.json:Executing a watch helper on a Database results in notifications for changes to all collections in the specified database.:async=False) [1ms]
 [2020/04/03 15:24:36.430]   ! MongoDB.Driver.Tests.Specifications.change_streams.ChangeStreamTestRunner.Run(testCase: MongoDB.Driver.Tests.Specifications.change_streams.tests.change-streams.json:Change Stream should allow valid aggregate pipeline stages:async=False) [1ms]
 [2020/04/03 15:24:36.430]   ! MongoDB.Driver.Tests.Specifications.change_streams.ChangeStreamTestRunner.Run(testCase: MongoDB.Driver.Tests.Specifications.change_streams.tests.change-streams.json:Test drop and invalidate event types:async=True) [1ms]
 [2020/04/03 15:24:36.430]   ! MongoDB.Driver.Tests.Specifications.change_streams.ChangeStreamTestRunner.Run(testCase: MongoDB.Driver.Tests.Specifications.change_streams.tests.change-streams.json:Executing a watch helper on a MongoClient results in notifications for changes to all collections in all databases in the cluster.:async=False) [1ms]
 [2020/04/03 15:24:36.430]   X MongoDB.Driver.Tests.Specifications.change_streams.ChangeStreamTestRunner.Run(testCase: MongoDB.Driver.Tests.Specifications.change_streams.tests.change-streams-errors.json:Change Stream should error when _id is projected out:async=True) [1s 136ms]
 [2020/04/03 15:24:36.430]   Error Message:
 [2020/04/03 15:24:36.430]    System.Exception : Expected an exception to be thrown but none was.
 [2020/04/03 15:24:36.430]   Stack Trace:
 [2020/04/03 15:24:36.430]      at MongoDB.Driver.Tests.Specifications.change_streams.ChangeStreamTestRunner.AssertError(Exception actualException, BsonDocument expectedResult) in C:\data\mci\7b0efcd90839e255ce9f860618cfd695\mongo-csharp-driver\tests\MongoDB.Driver.Tests\Specifications\change-streams\ChangeStreamTestRunner.cs:line 517
 [2020/04/03 15:24:36.430]   ! MongoDB.Driver.Tests.Specifications.change_streams.ChangeStreamTestRunner.Run(testCase: MongoDB.Driver.Tests.Specifications.change_streams.tests.change-streams.json:Executing a watch helper on a Database results in notifications for changes to all collections in the specified database.:async=True) [1ms]

 


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