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

Test failure - tests.test_reset_and_request_check.TestResetAndRequestCheck.test_not_master_find_one

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.8
    • Affects Version/s: 3.8
    • Component/s: Tests
    • Labels:
      None

      A MockupDB test is failing on the v3.8 branch:
      https://evergreen.mongodb.com/task/mongo_python_driver_3.8_mockupdb_tests__python_version~2.7_mockupdb_353be171792c3517146febc25504ca6cd405aaad_19_04_19_22_54_54

       [2019/04/19 16:26:40.701] FAIL: test_not_master_find_one (tests.test_reset_and_request_check.TestResetAndRequestCheck)
       [2019/04/19 16:26:40.701] ----------------------------------------------------------------------
       [2019/04/19 16:26:40.701] Traceback (most recent call last):
       [2019/04/19 16:26:40.701]   File "/data/mci/d4c3cabd4f516da536e5f3c8e9a94102/pymongo-mockup-tests/tests/test_reset_and_request_check.py", line 117, in test
       [2019/04/19 16:26:40.701]     test_method(self, operation)
       [2019/04/19 16:26:40.701]   File "/data/mci/d4c3cabd4f516da536e5f3c8e9a94102/pymongo-mockup-tests/tests/test_reset_and_request_check.py", line 112, in _test_not_master
       [2019/04/19 16:26:40.701]     self.assertGreater(after, before, 'ismaster not called')
       [2019/04/19 16:26:40.701] AssertionError: ismaster not called
      

      It started failing after PYTHON-1783 so I think there was a problem in the cherry-pick.

            Assignee:
            shane.harvey@mongodb.com Shane Harvey
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: