JiriOndrusek commented on code in PR #4813: URL: https://github.com/apache/camel-quarkus/pull/4813#discussion_r1173362211
########## integration-tests-jvm/snmp/src/test/java/org/apache/camel/quarkus/component/snmp/it/SnmpTest.java: ########## @@ -16,19 +16,80 @@ */ package org.apache.camel.quarkus.component.snmp.it; +import java.util.concurrent.TimeUnit; + +import io.quarkus.test.common.QuarkusTestResource; import io.quarkus.test.junit.QuarkusTest; import io.restassured.RestAssured; +import org.hamcrest.Matchers; import org.junit.jupiter.api.Test; +import static org.awaitility.Awaitility.await; + +/** + * There is a responder defined in the test resource. Which returns 2 responses without a delay and the third one + * with delay longer then default timeout. This means following behavior: + * - send PDU will receive 1 response + * - get_next will receive 2 responses (the third one reaches timeout) + * - poll returns unending stream of responses + */ Review Comment: @jamesnetherton here is a simple explanation, why different test cases asserts different values -- 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. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org