Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-2851

Fix failing "TestCMAPProse" test

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 1.12.1
    • Affects Version/s: None
    • Component/s: CMAP
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      The test

      TestCMAPProse/created_and_closed_events/checkOut/connection_error_publishes_events
      

      fails frequently with an error like

      cmap_prose_test.go:132:
          	Error Trace:	x/mongo/driver/topology/cmap_prose_test.go:132
          	Error:      	Not equal:
          	            	expected: 1
          	            	actual  : 0
          	Test:       	TestCMAPProse/created_and_closed_events/checkOut/connection_error_publishes_events
          	Messages:   	expected 1 closed events, got 0
      

      Check out an example test failure here.

      Definition of done:

      • All TestCMAPProse test cases pass reliably on Evergreen CI.
      • Remove any skipped TestCMAPProse tests tagged with this ticket.

            Assignee:
            qingyang.hu@mongodb.com Qingyang Hu
            Reporter:
            matt.dale@mongodb.com Matt Dale
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: