sandynz commented on code in PR #21019:
URL: https://github.com/apache/shardingsphere/pull/21019#discussion_r972901892


##########
shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-scaling/src/test/java/org/apache/shardingsphere/integration/data/pipeline/cases/migration/general/MySQLMigrationGeneralIT.java:
##########
@@ -105,7 +107,10 @@ public void assertMigrationSuccess() throws SQLException, 
InterruptedException {
     }
     
     private void assertMigrationSuccessById(final String jobId) throws 
SQLException, InterruptedException {
-        waitJobFinished(String.format("SHOW MIGRATION STATUS '%s'", jobId));
+        List<Map<String, Object>> jobStatus = 
waitJobFinished(String.format("SHOW MIGRATION STATUS '%s'", jobId));
+        for (Map<String, Object> each : jobStatus) {
+            
assertTrue(Integer.parseInt(each.get("processed_records").toString()) > 0);
+        }

Review Comment:
   `processed_records` not changed, it caused NPE



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