From 5c7e62fc671201511b189e946eb45e2611ef3ee1 Mon Sep 17 00:00:00 2001 From: Jonathan Rubiero Date: Thu, 17 Sep 2020 13:30:14 +0200 Subject: [PATCH] Modified timeout text to be checked in assert --- .../step/examples/http/keywords/HttpClientKeywordTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keywords/java/step-library-kw-http/src/test/java/ch/exense/step/examples/http/keywords/HttpClientKeywordTest.java b/keywords/java/step-library-kw-http/src/test/java/ch/exense/step/examples/http/keywords/HttpClientKeywordTest.java index 108af66..bfd8412 100644 --- a/keywords/java/step-library-kw-http/src/test/java/ch/exense/step/examples/http/keywords/HttpClientKeywordTest.java +++ b/keywords/java/step-library-kw-http/src/test/java/ch/exense/step/examples/http/keywords/HttpClientKeywordTest.java @@ -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