Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests: Increase overall stability #2548

Merged
merged 8 commits into from
Oct 31, 2023
Merged

Tests: Increase overall stability #2548

merged 8 commits into from
Oct 31, 2023

Conversation

NickCraver
Copy link
Collaborator

@NickCraver NickCraver commented Sep 10, 2023

Fixes:

  • DisconnectAndNoReconnectThrowsConnectionExceptionAsync: Under load, we're not connecting in 50ms for the initial thing, and stability > speed, so give a little on this test to help out. Average runtime will be higher, but that's way better than sporadically failing.
  • Roles: Don't assume we're in the initial primary/replica setup (we may have failed over) and make it work either way.

…nExceptionAsync

Under load, we're not connecting in 50ms for the initial thing, and stability > speed, so give a little on this test to help out. Average runtime will be higher, but that's way better than sporadically failing.
These fail if our primary/replica aren't in the pairing order we expect, which can happen after failovers run. Make them more resilient to that while we decide what to do with failover tests in general
@NickCraver NickCraver changed the title Tests: Increase stability for DisconnectAndNoReconnectThrowsConnectionExceptionAsync Tests: Increase overall stability Sep 10, 2023
@NickCraver NickCraver marked this pull request as ready for review October 31, 2023 14:32
@NickCraver NickCraver merged commit c05179f into main Oct 31, 2023
8 checks passed
@NickCraver NickCraver deleted the user/craver/tests/fix1 branch October 31, 2023 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants