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

Test Failure - test_heartbeat_monitoring.TestHeartbeatMonitoring.test_standalone_error

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.5
    • Affects Version/s: None
    • Component/s: Tests
    • None

      This is a very infrequent failure, seemingly due to a race condition in the test case. The failure seems to only occur testing against a sharded cluster.

       [2017/03/17 07:32:33.333] ======================================================================
       [2017/03/17 07:32:33.333] FAIL: test_standalone_error (test_heartbeat_monitoring.TestHeartbeatMonitoring)
       [2017/03/17 07:32:33.333] ----------------------------------------------------------------------
       [2017/03/17 07:32:33.333] Traceback (most recent call last):
       [2017/03/17 07:32:33.333]   File "/data/mci/3a45a331ba123c620e62b2687c7ec751/src/test/test_heartbeat_monitoring.py", line 134, in test_standalone_error
       [2017/03/17 07:32:33.333]     self.create_mock_monitor(responses, uri, expected_results)
       [2017/03/17 07:32:33.333]   File "/data/mci/3a45a331ba123c620e62b2687c7ec751/src/test/test_heartbeat_monitoring.py", line 93, in create_mock_monitor
       [2017/03/17 07:32:33.333]     "publish all events", timeout=15)
       [2017/03/17 07:32:33.333]   File "/data/mci/3a45a331ba123c620e62b2687c7ec751/src/test/utils.py", line 305, in wait_until
       [2017/03/17 07:32:33.333]     raise AssertionError("Didn't ever %s" % success_description)
       [2017/03/17 07:32:33.333] AssertionError: Didn't ever publish all events
      

            Assignee:
            bernie@mongodb.com Bernie Hackett
            Reporter:
            bernie@mongodb.com Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: