• Nick Craver's avatar
    Tests: fix ConnectWithWrongPassword · bb2c0a77
    Nick Craver authored
    This failed under unit test load due to unintended retries during periods where async continuations for completion of the test don't occur before retries kick in and change an auth exception to a socket exception (which we correctly already closed).
    
    Still, I think we should consider storing the initial connection error seperately from others as there's a fundamental race of an error that an observer cannot see when retries overwrite the last error message.
    bb2c0a77
Secure.cs 3.5 KB