Asynchronous index creation in tests is very slow

XMLWordPrintableJSON

    • Type: Build Failure
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Python Drivers
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      Name of Failure:

      These asynchronous tests inconsistently have runtimes over a minute each due to slow index creation:

      test.asynchronous.test_crud_unified.TestUnifiedFindOneAndUpdateErrorResponse.test_findOneAndUpdate_DuplicateKey_error_is_accessible
      test.asynchronous.test_cursor.TestCursor.test_hint
      test.asynchronous.test_cursor.TestCursor.test_hint_by_name
      test.asynchronous.test_cursor.TestCursor.test_max
      test.asynchronous.test_cursor.TestCursor.test_min
      test.asynchronous.test_read_preferences.TestMongosAndReadPreference.test_mongos
      test.asynchronous.test_read_write_concern_spec.TestOperationDefaultWriteConcern_3_4.test_CreateIndex_and_dropIndex_omits_default_write_concern

      Link to task:

      https://spruce.mongodb.com/task/mongo_python_driver_no_c_ext_rhel8_test_standard_v8.0_python3.10_async_auth_ssl_sharded_cluster_patch_ad1167d01ea03780bae1fdb66ddc88283ce9a983_68fb845a5b57f10007a5ff3e_25_10_24_13_52_09/tests?execution=0&sorts=STATUS%3AASC

      Context of when and why the failure occurred:

      Determine if this is an inherent issue with index creation or if we can improve our testing or async driver code to mitigate this behavior.

      Stack trace:

            Assignee:
            Noah Stapp
            Reporter:
            Noah Stapp
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: