Fix test: Change Stream should error when _id is projected out

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.10.2
    • Component/s: Testing
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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]
      
      

       

            Assignee:
            Unassigned
            Reporter:
            Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: