Skip to content

Commit 6c54d0a

Browse files
committed
Attempting to demonstrate and resolve #711
Fixing the referenced Integration test as well
1 parent 744e906 commit 6c54d0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tests/Nest.Tests.Integration/ConnectionTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public void connect_to_unknown_hostname()
5454

5555
//this test will fail if fiddler is enabled since the proxy
5656
//will report a statuscode of 502 instead of -1
57-
Assert.Throws<MaxRetryException>(() =>
57+
Assert.DoesNotThrow(() =>
5858
{
5959
var settings = new ConnectionSettings(new Uri("http://youdontownthis.domain.do.you"), "index");
6060
var client = new ElasticClient(settings);

0 commit comments

Comments
 (0)