You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/05/17 01:02:04 UTC

[GitHub] [incubator-doris] yiguolei commented on pull request #9592: [regression] fix the regression case fail in test_compaction

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: commits-unsubscribe@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org