Skip to content

Commit

Permalink
Hoping to fix test - new error message
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-at-octopus committed Aug 30, 2021
1 parent f61fb2d commit 556e0d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/Halibut.Tests/FailureModesFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ public void FailOnInvalidHostname()
}
else
{
new [] {"No such device or address", "Resource temporarily unavailable"}.Any(message.Contains).Should().BeTrue($"Message does not match known strings: {message}");
// Failed with: An error occurred when sending a request to 'https://sduj08ud9382ujd98dw9fh934hdj2389u982:8000/', before the request could begin: Name or service not known, but found False.
new [] {"No such device or address", "Resource temporarily unavailable", "Name or service not known"}.Any(message.Contains).Should().BeTrue($"Message does not match known strings: {message}");
}
}
}
Expand Down

0 comments on commit 556e0d5

Please sign in to comment.