hailin0 commented on code in PR #4428:
URL: https://github.com/apache/seatunnel/pull/4428#discussion_r1651114547


##########
seatunnel-e2e/seatunnel-connector-v2-e2e/connector-kafka-e2e/src/test/java/org/apache/seatunnel/e2e/connector/kafka/KafkaFormatIT.java:
##########
@@ -418,6 +425,26 @@ public void testFormatCompatibleCheck(TestContainer 
container)
         checkCompatibleFormat();
     }
 
+    @TestTemplate
+    public void testFormatMaxWellCheck(TestContainer container)
+            throws IOException, InterruptedException {
+
+        LOG.info("====================== Check MaxWell======================");
+        // check ogg MaxWell to postgresql
+        Container.ExecResult execMaxWellResultToKafka =
+                
container.executeJob("/maxwellFormatIT/kafkasource_maxwell_to_kafka.conf");
+        Assertions.assertEquals(
+                0, execMaxWellResultToKafka.getExitCode(), 
execMaxWellResultToKafka.getStderr());
+
+        Container.ExecResult execMaxWellResultToPg =
+                
container.executeJob("/maxwellFormatIT/kafkasource_maxwell_cdc_to_pgsql.conf");

Review Comment:
   check pg data row & column ?



##########
seatunnel-e2e/seatunnel-connector-v2-e2e/connector-kafka-e2e/src/test/java/org/apache/seatunnel/e2e/connector/kafka/KafkaFormatIT.java:
##########
@@ -418,6 +425,26 @@ public void testFormatCompatibleCheck(TestContainer 
container)
         checkCompatibleFormat();
     }
 
+    @TestTemplate
+    public void testFormatMaxWellCheck(TestContainer container)
+            throws IOException, InterruptedException {
+
+        LOG.info("====================== Check MaxWell======================");
+        // check ogg MaxWell to postgresql
+        Container.ExecResult execMaxWellResultToKafka =
+                
container.executeJob("/maxwellFormatIT/kafkasource_maxwell_to_kafka.conf");
+        Assertions.assertEquals(
+                0, execMaxWellResultToKafka.getExitCode(), 
execMaxWellResultToKafka.getStderr());
+
+        Container.ExecResult execMaxWellResultToPg =
+                
container.executeJob("/maxwellFormatIT/kafkasource_maxwell_cdc_to_pgsql.conf");
+        Assertions.assertEquals(
+                0, execMaxWellResultToPg.getExitCode(), 
execMaxWellResultToPg.getStderr());
+
+        // Check Ogg

Review Comment:
   ```suggestion
           // Check Maxwell
   ```



-- 
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...@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to