yiguolei commented on PR #9592:
URL: https://github.com/apache/incubator-doris/pull/9592#issuecomment-1128289400
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
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]