Skip to content

Commit

Permalink
Modified timeout text to be checked in assert
Browse files Browse the repository at this point in the history
  • Loading branch information
rubij committed Sep 17, 2020
1 parent dc315c0 commit 5c7e62f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public void simpleHttpGetRequestTimeoutWithExplicitClientInit() throws Exception
actualException = e;
}
Assert.assertNotNull(actualException);
assertTrue(actualException.getMessage().contains("connect timed out"));
assertTrue(actualException.getMessage().contains("timed out"));
}

@Test
Expand Down

0 comments on commit 5c7e62f

Please sign in to comment.