You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2019/08/15 05:43:41 UTC

[camel] 03/06: CAMEL-13852: use default timeout in tests

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit f0bcf14c7f2bfa155c9c4e25b0dc003a9d124245
Author: Marc Giger <gi...@gmx.ch>
AuthorDate: Sun Aug 11 15:25:08 2019 +0200

    CAMEL-13852: use default timeout in tests
---
 .../java/org/apache/camel/component/olingo4/Olingo4AppAPITest.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/components/camel-olingo4/camel-olingo4-api/src/test/java/org/apache/camel/component/olingo4/Olingo4AppAPITest.java b/components/camel-olingo4/camel-olingo4-api/src/test/java/org/apache/camel/component/olingo4/Olingo4AppAPITest.java
index 2261414..e8385a8 100644
--- a/components/camel-olingo4/camel-olingo4-api/src/test/java/org/apache/camel/component/olingo4/Olingo4AppAPITest.java
+++ b/components/camel-olingo4/camel-olingo4-api/src/test/java/org/apache/camel/component/olingo4/Olingo4AppAPITest.java
@@ -419,7 +419,7 @@ public class Olingo4AppAPITest {
         final TestOlingo4ResponseHandler<HttpStatusCode> responseHandler = new TestOlingo4ResponseHandler<>();
         olingoApp.action(edm, TEST_UNBOUND_ACTION_RESETDATASOURCE, null, null, responseHandler);
 
-        final HttpStatusCode statusCode = responseHandler.await(15, TimeUnit.MINUTES);
+        final HttpStatusCode statusCode = responseHandler.await();
         assertEquals(204, statusCode.getStatusCode());
     }
 
@@ -432,7 +432,7 @@ public class Olingo4AppAPITest {
         final TestOlingo4ResponseHandler<HttpStatusCode> responseHandler = new TestOlingo4ResponseHandler<>();
         olingoApp.action(edm, TEST_BOUND_ACTION_PEOPLE_SHARETRIP, null, clientEntity, responseHandler);
 
-        final HttpStatusCode statusCode = responseHandler.await(15, TimeUnit.MINUTES);
+        final HttpStatusCode statusCode = responseHandler.await();
         assertEquals(204, statusCode.getStatusCode());
     }
 
@@ -474,7 +474,7 @@ public class Olingo4AppAPITest {
         final TestOlingo4ResponseHandler<ClientEntity> actionResponseHandler = new TestOlingo4ResponseHandler<>();
         olingoApp.action(edm, TEST_BOUND_ACTION_PEOPLE_SHARETRIP, null, clientEntity, actionResponseHandler);
 
-        final ClientEntity result = actionResponseHandler.await(15, TimeUnit.MINUTES);
+        final ClientEntity result = actionResponseHandler.await();
         assertEquals("lewisblack", result.getProperty("UserName").getValue().toString());
     }