JiriOndrusek commented on a change in pull request #2795:
URL: https://github.com/apache/camel-quarkus/pull/2795#discussion_r652531933
##########
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:
@zbendhiba If it failed with 20 seconds on your machine, was it
successful with some higher timeout?
(I remember, that it was able to finish on my machine in less then a few
seconds and if I remember correctly, Peter and Alex were running it ~10 times
both and it was successful)
--
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]