• Nick Craver's avatar
    Tests: Fix DNS failures · cfb64f86
    Nick Craver authored
    So this one is fun. Windows caches DNS, including a miss. The second test runner will fail synchronously in the Socket.BeginConnect() call due to the DNS looku failing immediately (no need to wait!). This beaks our assumptions of it failing asynchronously in these tests.
    
    If this resolves the issue, we'll put a wrapper in the .BeginConnect() call to capture and recognize the SocketException "No such host is known" and return the RedisConnectionException users expect.
    cfb64f86
Name
Last commit
Last update
.vscode Loading commit data...
BasicTest Loading commit data...
ConnectionWatcher Loading commit data...
NRediSearch Loading commit data...
NRediSearch.Test Loading commit data...
RedisConfigs Loading commit data...
StackExchange.Redis Loading commit data...
StackExchange.Redis.Modules Loading commit data...
StackExchange.Redis.StrongName Loading commit data...
StackExchange.Redis.Tests Loading commit data...
docs Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
Directory.build.props Loading commit data...
LICENSE Loading commit data...
NuGet.Config Loading commit data...
README.md Loading commit data...
StackExchange.Redis.sln Loading commit data...
StackExchange.Redis.sln.DotSettings Loading commit data...
StackExchange.Redis.snk Loading commit data...
StrongName.ps1 Loading commit data...
appveyor.yml Loading commit data...
build.cmd Loading commit data...
build.ps1 Loading commit data...
semver.txt Loading commit data...