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

test.asynchronous.test_connection_monitoring.AsyncTestCMAP.test_connection_monitoring_pool_checkout_minPoolSize_connection_maxConnecting_threads_blocked_by_maxConnecting_check_out_minPoolSize_connections failure

    • Type: Icon: Build Failure Build Failure
    • Resolution: Duplicate
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Python Drivers
    • 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?
    • None
    • None
    • None
    • None
    • None
    • None

      Name of Failure:

      test.asynchronous.test_connection_monitoring.AsyncTestCMAP.test_connection_monitoring_pool_checkout_minPoolSize_connection_maxConnecting_threads_blocked_by_maxConnecting_check_out_minPoolSize_connections

      Link to task:

      https://spruce.mongodb.com/task/mongo_python_driver_test_win64_python3.9_test_5.0_sharded_cluster_auth_ssl_async_patch_c9a85ad321f98caf314fc9da7a367e94d661abac_67c249ed3639420007143c72_25_02_28_23_42_38?execution=0&sortBy=STATUS&sortDir=ASC

      Context of when and why the failure occurred:

      Async test failure.

      Stack trace:

       [2025/02/28 16:13:26.379] FAILURE: AssertionError: <class 'pymongo.monitoring.ConnectionCreatedEvent'> != <class 'pymongo.monitoring.ConnectionCheckedOutEvent'> ()
       [2025/02/28 16:13:26.379] self = <test.asynchronous.test_connection_monitoring.AsyncTestCMAP testMethod=test_connection_monitoring_pool_checkout_minPoolSize_connection_maxConnecting_threads_blocked_by_maxConnecting_check_out_minPoolSize_connections>
       [2025/02/28 16:13:26.379]     async def run_scenario(self):
       [2025/02/28 16:13:26.379] >       await self.run_scenario(scenario_def, test)
       [2025/02/28 16:13:26.379] test\asynchronous\test_connection_monitoring.py:454: 
       [2025/02/28 16:13:26.379] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
       [2025/02/28 16:13:26.379] test\asynchronous\test_connection_monitoring.py:290: in run_scenario
       [2025/02/28 16:13:26.379]     self.check_events(test["events"], test["ignore"])
       [2025/02/28 16:13:26.379] test\asynchronous\test_connection_monitoring.py:204: in check_events
       [2025/02/28 16:13:26.379]     self.check_event(actual, expected)
       [2025/02/28 16:13:26.379] test\asynchronous\test_connection_monitoring.py:192: in check_event
       [2025/02/28 16:13:26.379]     self.check_object(actual, expected)
       [2025/02/28 16:13:26.379] test\asynchronous\test_connection_monitoring.py:177: in check_object
       [2025/02/28 16:13:26.379]     self.assertEqual(type(actual), OBJECT_TYPES[expected["type"]])
       [2025/02/28 16:13:26.379] E   AssertionError: <class 'pymongo.monitoring.ConnectionCreatedEvent'> != <class 'pymongo.monitoring.ConnectionCheckedOutEvent'>
      
          
      

       

            Assignee:
            Unassigned Unassigned
            Reporter:
            noah.stapp@mongodb.com Noah Stapp
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None