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 2020/07/01 10:35:58 UTC

[GitHub] [camel-quarkus] ppalaga commented on a change in pull request #1437: Upgrade to Debezium 1.2.0.Final #1418

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:
users@infra.apache.org