Skip to content

Commit

Permalink
Envoy: Handle both failure race errors (#2011)
Browse files Browse the repository at this point in the history
This should make AppVeyor a bit friendlier.
  • Loading branch information
NickCraver authored Feb 25, 2022
1 parent 6718fea commit 0d8de9b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/StackExchange.Redis.Tests/EnvoyTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@ public void TestBasicEnvoyConnection()
{
Skip.Inconclusive("Envoy server not found.");
}
catch (AggregateException)
{
Skip.Inconclusive("Envoy server not found.");
}
catch (RedisConnectionException) when (sb.ToString().Contains("It was not possible to connect to the redis server(s)"))
{
Skip.Inconclusive("Envoy server not found.");
}
}
}
}

0 comments on commit 0d8de9b

Please sign in to comment.