Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-2517

PoolClearedError test is flaky

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Component/s: Retryability
    • None
    • Needed
    • Hide

      Summary of necessary driver changes

      •  

      Commits for syncing spec/prose tests
      (and/or refer to an existing language POC if needed)

      •  

      Context for other referenced/linked tickets

      •  
      Show
      Summary of necessary driver changes   Commits for syncing spec/prose tests (and/or refer to an existing language POC if needed)   Context for other referenced/linked tickets  
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-5762 Blocked
      CXX-3128 Blocked
      CSHARP-5365 Blocked
      GODRIVER-3386 Blocked
      JAVA-5657 Blocked
      NODE-6461 Blocked
      MOTOR-1378 Duplicate
      PYTHON-4911 Blocked
      PHPLIB-1554 Blocked
      RUBY-3558 Blocked
      RUST-2061 Blocked
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion CDRIVER-5762 Blocked CXX-3128 Blocked CSHARP-5365 Blocked GODRIVER-3386 Blocked JAVA-5657 Blocked NODE-6461 Blocked MOTOR-1378 Duplicate PYTHON-4911 Blocked PHPLIB-1554 Blocked RUBY-3558 Blocked RUST-2061 Blocked

      Summary

      In DRIVERS-1483, a test is added to verify the the PoolClearedError is retryable. This test is flaky since we can have a situation where the pool is cleared by the first find/insert, but before the checkout for the second find/insert is done, the pool is readied again, causing the checkout to succeed and the test to fail (since it checks for a ConnectionCheckoutFailed). This ticket should change that test to fix the flakiness.

      Motivation

      Who is the affected end user?

      Who are the stakeholders?

      How does this affect the end user?

      Are they blocked? Are they annoyed? Are they confused?

      How likely is it that this problem or use case will occur?

      Main path? Edge case?

      If the problem does occur, what are the consequences and how severe are they?

      Minor annoyance at a log message? Performance concern? Outage/unavailability? Failover can't complete?

      Is this issue urgent?

      Does this ticket have a required timeline? What is it?

      Is this ticket required by a downstream team?

      Needed by e.g. Atlas, Shell, Compass?

      Is this ticket only for tests?

      Does this ticket have any functional impact, or is it just test improvements?

            Assignee:
            Unassigned Unassigned
            Reporter:
            neil.shweky@mongodb.com Neil Shweky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: