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

Test failure - test_v2_db_aggregate_Aggregate_with__listLocalSessions_and_allowDiskUse

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

      The test test_crud_v2.TestSpec.test_v2_db_aggregate_Aggregate_with__listLocalSessions_and_allowDiskUse fails on sharded-latest:

       ERROR: collection testcollection already exists (CollectionInvalid)
       Traceback (most recent call last):
         File "/data/mci/737cdbf3a4f4830550e537a1eb73794c/src/test/__init__.py", line 420, in wrap
           return f(*args, **kwargs)
         File "/data/mci/737cdbf3a4f4830550e537a1eb73794c/src/test/test_crud_v2.py", line 56, in run_scenario
           self.run_scenario(scenario_def, test)
         File "/data/mci/737cdbf3a4f4830550e537a1eb73794c/src/test/utils_spec_runner.py", line 474, in run_scenario
           write_concern_db.create_collection(collection_name)
         File "/data/mci/737cdbf3a4f4830550e537a1eb73794c/src/pymongo/database.py", line 407, in create_collection
           raise CollectionInvalid("collection %s already exists" % name)
       pymongo.errors.CollectionInvalid: collection testcollection already exists
      

      For an example, see the sharded-latest builds of https://evergreen.mongodb.com/version/5d49b50361837d69c87d6b5e

            Assignee:
            shane.harvey@mongodb.com Shane Harvey
            Reporter:
            prashant.mital Prashant Mital (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: