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

Investigate extremely slow tests

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Tests
    • None

      I've noticed that some of our tests take a long time to run. For example on Python 3.8 OpenSSL 1.0.2 Ubuntu 16.04 Auth SSL test-latest-standalone :

      [2020/01/20 08:47:45.917]   test_socket_error_marks_member_down (test_replica_set_reconfig.TestSocketError) ... ok (30.104s)
      ...
      

      And Python 2.7 RHEL 6.2 (x86_64) Auth SSL Coverage test-latest-replica_set:

      [2020/01/15 13:43:11.680]   test_timeout_does_not_mark_member_down (test_replica_set_client.TestReplicaSetClient) ... ok (12.106s)
      ...
      [2020/01/15 13:43:42.693]   test_socket_error_marks_member_down (test_replica_set_reconfig.TestSocketError) ... ok (30.119s)
      ...
      [2020/01/15 13:45:40.096]   test_safe_insert (test_threads.TestThreads) ... ok (7.672s)
      [2020/01/15 13:45:47.032]   test_safe_update (test_threads.TestThreads) ... ok (6.938s)
      

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

              Created:
              Updated: