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



##########
File path: 
integration-tests/debezium/src/test/java/org/apache/camel/quarkus/component/debezium/common/it/sqlserver/DebeziumSqlserverTest.java
##########
@@ -89,15 +89,25 @@ protected String getCompanyTableName() {
     @Order(0)
     @EnabledIfSystemProperty(named = PROPERTY_JDBC, matches = ".*")
     public void testReceiveInitCompany() {
-        //receive first record (operation r) for the init company - using 
larger timeout
-        Response response = receiveResponse("/receiveAsRecord");
+        int i = 0;
 
-        response.then()
-                .statusCode(200);
+        while (i++ < AbstractDebeziumTest.REPEAT_COUNT) {

Review comment:
       We tend to use Awaitility in situations like these so you may consider 
using it too on the next occasion. 




----------------------------------------------------------------
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]


Reply via email to