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

test_collection.TestCollection.test_large_limit is slow

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

      test_collection.TestCollection.test_large_limit takes a long time to run because it runs 2000 insert_one's instead of using a single insert_many.

      [2019/03/01 16:16:59.039]   test_large_limit (test_collection.TestCollection) ... OK (9.462s)
      

      https://evergreen.mongodb.com/task_log_raw/mongo_python_driver_42dev_tests_python_version_rhel62_test_ssl__auth~auth_ssl~ssl_python_version~2.7_coverage~coverage_test_latest_replica_set_patch_0b8643d144bc32621cab49639bf977d7e360e532_5c79ca257742ae3148a1a360_19_03_02_00_11_32/0?type=T#L1156

            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: