Hisoka-X commented on code in PR #9749:
URL: https://github.com/apache/seatunnel/pull/9749#discussion_r2349122076


##########
seatunnel-e2e/seatunnel-connector-v2-e2e/connector-cdc-mysql-e2e/src/test/java/org/apache/seatunnel/connectors/seatunnel/cdc/mysql/MysqlCDCWithBinlogDeleteIT.java:
##########
@@ -203,12 +203,23 @@ public void testRestoreTaskWhenBinlogDelete(TestContainer 
container)
                                     query(getSourceQuerySQL(MYSQL_DATABASE, 
SOURCE_TABLE)),
                                     query(getSinkQuerySQL(MYSQL_DATABASE, 
SINK_TABLE)));
                         });
+        // check job status is not failed
+        await().pollDelay(20, TimeUnit.SECONDS)
+                .atMost(60, TimeUnit.SECONDS)
+                .untilAsserted(
+                        () ->
+                                Assertions.assertNotEquals(
+                                        "FAILED", 
container.getJobStatus(String.valueOf(jobId))));

Review Comment:
   @hawk9821 



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to