You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/06/16 09:35:35 UTC

[GitHub] [camel-quarkus] ppalaga commented on a change in pull request #2795: Fixup #2658 Intermittent failures in MongoDbTest.testTailingConsumer(…

ppalaga commented on a change in pull request #2795:
URL: https://github.com/apache/camel-quarkus/pull/2795#discussion_r652522202



##########
File path: integration-tests/mongodb/src/test/java/org/apache/camel/quarkus/component/mongodb/it/MongoDbTest.java
##########
@@ -277,13 +280,19 @@ public void testOutputTypeDocument() throws Exception {
     }
 
     private void waitAndResetTailingResults(int expectedSize, String laststring, String resultId) {
-        await().atMost(5, TimeUnit.SECONDS).until(
-                () -> RestAssured
-                        .given().contentType(ContentType.JSON)
-                        .get("/mongodb/results/" + resultId)
-                        .then()
-                        .statusCode(200)
-                        .extract().as(Map.class),
+        LOG.info("Awaiting results with size " + expectedSize + " and last string " + laststring);
+        await().atMost(30, TimeUnit.SECONDS).until(

Review comment:
       Let's see if the timeout helps, and also let's see what the debug output will be when it fails next time.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org