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

Test failure - test_ocsp_cache.TestOcspCache.test_invalidate

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.11
    • Component/s: Tests
    • None

      test_ocsp_cache.TestOcspCache.test_invalidate failed:

      [2020/05/14 21:44:49.794] FAIL [-1.850s]: test_invalidate (test_ocsp_cache.TestOcspCache)
      [2020/05/14 21:44:49.794] ----------------------------------------------------------------------
      [2020/05/14 21:44:49.794] Traceback (most recent call last):
      [2020/05/14 21:44:49.794]   File "/data/mci/ff8ae2680608b6291c99607436d7e7cc/src/test/test_ocsp_cache.py", line 119, in test_invalidate
      [2020/05/14 21:44:49.794]     _ = self.cache[request]
      [2020/05/14 21:44:49.794] AssertionError: KeyError not raised
      

      https://evergreen.mongodb.com/task/mongo_python_driver_tests_python_version_rhel62_test_ssl__platform~rhel62_auth~auth_ssl~ssl_python_version~pypy3.5_coverage~coverage_test_2.6_replica_set_patch_2c631faa6cb0ff925be380523ac5b54d9713efd2_5ebdb84e3627e0345ec16325_20_05_14_21_30_06

      The strange thing is that the test output claims the test ran in -1.850 seconds:

      [2020/05/14 21:43:08.283]   test_unicode (test_objectid.TestObjectId) ... ok (0.001s)
      [2020/05/14 21:43:06.433]   test_invalidate (test_ocsp_cache.TestOcspCache) ... FAIL (-1.850s)
      [2020/05/14 21:43:06.435]   test_non_existent (test_ocsp_cache.TestOcspCache) ... ok (0.002s)
      

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

              Created:
              Updated:
              Resolved: