zhannngchen commented on code in PR #24265: URL: https://github.com/apache/doris/pull/24265#discussion_r1322994857
########## regression-test/suites/compaction/test_full_compaction_by_table_id.groovy: ########## @@ -139,18 +139,20 @@ suite("test_full_compaction_by_table_id") { // wait for full compaction done { - boolean running = true - do { - Thread.sleep(1000) - tablet_id = tablets[0][0] - backend_id = tablets[0][2] - (code, out, err) = be_get_compaction_status(backendId_to_backendIP.get(backend_id), backendId_to_backendHttpPort.get(backend_id), tablet_id) - logger.info("Get compaction status: code=" + code + ", out=" + out + ", err=" + err) - assertEquals(code, 0) - def compactionStatus = parseJson(out.trim()) - assertEquals("success", compactionStatus.status.toLowerCase()) - running = compactionStatus.run_status - } while (running) + for (int i=0; i<tablets.size(); ++i) { + boolean running = true + do { + Thread.sleep(1000) + tablet_id = tablets[i][0] + backend_id = tablets[0][2] Review Comment: should be `tablets[i][2]`? -- 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...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org