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

Topology logging should use suppress_event

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

      TestUnifiedLoggingStandalone.test_Topology_lifecycle failed in actions:

      TestUnifiedLoggingStandalone.test_Topology_lifecycle _____________
      
      self = <test.test_discovery_and_monitoring.TestUnifiedLoggingStandalone testMethod=test_Topology_lifecycle>
      
          def test_case(self):
      >       self.run_scenario(spec)
      
      test/unified_format.py:2074: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      test/unified_format.py:2018: in run_scenario
          self._run_scenario(spec, uri)
      test/unified_format.py:2048: in _run_scenario
          self.check_log_messages(spec["operations"], expect_log_messages)
      test/unified_format.py:1957: in check_log_messages
          self.assertEqual(len(client["messages"]), len(actual_logs))
      E   AssertionError: 7 != 8
      

      https://github.com/mongodb/mongo-python-driver/actions/runs/10602678142/job/29385248919?pr=1812

      Caused by PYTHON-4021.

            Assignee:
            noah.stapp@mongodb.com Noah Stapp
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: