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.
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.