carlvinhust2012 commented on PR #9592: URL: https://github.com/apache/incubator-doris/pull/9592#issuecomment-1128551724
> Exception in compaction/test_compaction.groovy(line 34): > > ``` > StringBuilder showConfigCommand = new StringBuilder(); > showConfigCommand.append("curl -X GET http://") > showConfigCommand.append(beHttpAddress) > showConfigCommand.append("/api/show_config") > def process = showConfigCommand.toString().execute() > int code = process.waitFor() > String err = IOGroovyMethods.getText(new BufferedReader(new InputStreamReader(process.getErrorStream()))); > String out = process.getText() > logger.info("Show config: code=" + code + ", out=" + out + ", err=" + err) > assertEquals(code, 0) > ``` > > ^^^^^^^^^^^^^^^^^^^^^^^^^^ERROR LINE^^^^^^^^^^^^^^^^^^^^^^^^^^ def configList = parseJson(out.trim()) assert configList instanceof List > > ``` > int cumulativeCompactionSkipWindowSeconds = -1 > boolean disableAutoCompaction = true > for (Object ele in (List) configList) { > assert ele instanceof List<String> > if (((List<String>) ele)[0] == "cumulative_compaction_skip_window_seconds") { > cumulativeCompactionSkipWindowSeconds = Integer.parseInt(((List<String>) ele)[2]) > } else if (((List<String>) ele)[0] == "disable_auto_compaction") { > ``` > > test failed I have reproduced the problem and find the regression test is just not work in my local environment. so the root cause is that I should run "sh run-regression-test.sh --clean" and then run "sh run-regression-test.sh --run test_compaction" when I update my local code. -- 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