zbendhiba commented on a change in pull request #2795:
URL: https://github.com/apache/camel-quarkus/pull/2795#discussion_r652520037
##########
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:
I hope this is enough for CI build. I used 20 seconds on my machine
yesterday and it was still failing.
--
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:
[email protected]