Skip to content

Commit

Permalink
[regression-test](fix) fix two case bug (#45974)
Browse files Browse the repository at this point in the history
  • Loading branch information
shuke987 authored Dec 26, 2024
1 parent 289d621 commit 879bb79
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ suite("test_base_compaction_with_dup_key_max_file_size_limit", "p2") {
String command = sb.toString()
logger.info(command)
def process = command.execute()
def code = process.waitFor()
def err = IOGroovyMethods.getText(new BufferedReader(new InputStreamReader(process.getErrorStream())));
def out = process.getText()
code = process.waitFor()
err = IOGroovyMethods.getText(new BufferedReader(new InputStreamReader(process.getErrorStream())));
out = process.getText()
logger.info("Run compaction: code=" + code + ", out=" + out + ", disableAutoCompaction " + disableAutoCompaction + ", err=" + err)
if (!disableAutoCompaction) {
return "Success, " + out
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ suite("test_show_data_with_compaction", "p1") {
}

def set_be_config = { key, value ->
for (String backend_id: backendId_to_backendIP.keySet()) {
for (backend_id: backendId_to_backendIP.keySet()) {
(code, out, err) = update_be_config(backendId_to_backendIP.get(backend_id), backendId_to_backendHttpPort.get(backend_id), key, value)
logger.info("update config: code=" + code + ", out=" + out + ", err=" + err)
}
Expand Down

0 comments on commit 879bb79

Please sign in to comment.