Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-3995

[Build Failure] TestSdamMode.test_rtt_connection_is_enabled_stream

    • Type: Icon: Build Failure Build Failure
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 4.6
    • Affects Version/s: None
    • Component/s: None
    • None

      Several builds are failing the same test after PYTHON-3668

      test.test_discovery_and_monitoring.TestSdamMode.test_rtt_connection_is_enabled_stream

      https://spruce.mongodb.com/task/mongo_python_driver_tests_python_version_rhel8_test_ssl__platform~rhel8_auth_ssl~noauth_nossl_python_version~3.7_coverage~coverage_test_6.0_replica_set_4c00227c1d350a64d1af6672cb6de26072082b81_23_10_12_20_19_16/tests?execution=0&sortBy=STATUS&sortDir=ASC

       [2023/10/12 20:32:48.189] FAILURE: AssertionError: unexpectedly None ()
       [2023/10/12 20:32:48.189] self = <test.test_discovery_and_monitoring.TestSdamMode testMethod=test_rtt_connection_is_enabled_stream>
       [2023/10/12 20:32:48.189]     def test_rtt_connection_is_enabled_stream(self):
       [2023/10/12 20:32:48.189]         client = rs_or_single_client(serverMonitoringMode="stream")
       [2023/10/12 20:32:48.189]         self.addCleanup(client.close)
       [2023/10/12 20:32:48.189]         client.admin.command("ping")
       [2023/10/12 20:32:48.189]         for _, server in client._topology._servers.items():
       [2023/10/12 20:32:48.189]             monitor = server._monitor
       [2023/10/12 20:32:48.189]             self.assertTrue(monitor._stream)
       [2023/10/12 20:32:48.189]             if client_context.version >= (4, 4):
       [2023/10/12 20:32:48.189] >               self.assertIsNotNone(monitor._rtt_monitor._executor._thread)
       [2023/10/12 20:32:48.189] E               AssertionError: unexpectedly None
       [2023/10/12 20:32:48.189] test/test_discovery_and_monitoring.py:359: AssertionError
      

            Assignee:
            shane.harvey@mongodb.com Shane Harvey
            Reporter:
            steve.silvester@mongodb.com Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: