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

Test failure - test.test_database.TestDatabaseAggregation.test_database_aggregation_fake_cursor

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

      Failing on latest. I think it's a bug in the test. We drop the collection with w=0 which races with the w=0 aggregate write.

      FAIL: test_database_aggregation_fake_cursor (test.test_database.TestDatabaseAggregation)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/Users/shane/git/mongo-python-driver/test/__init__.py", line 432, in wrap
          return f(*args, **kwargs)
        File "/Users/shane/git/mongo-python-driver/test/__init__.py", line 432, in wrap
          return f(*args, **kwargs)
        File "/Users/shane/git/mongo-python-driver/test/test_database.py", line 1050, in test_database_aggregation_fake_cursor
          result = wait_until(
        File "/Users/shane/git/mongo-python-driver/test/utils.py", line 617, in wait_until
          raise AssertionError("Didn't ever %s" % success_description)
      AssertionError: Didn't ever read unacknowledged write
      

            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: