Skip to content

Commit

Permalink
disable std io buffer during CI(otherwise it would introduce flaky is…
Browse files Browse the repository at this point in the history
…sue during redirection)
  • Loading branch information
ZhiHanZ committed Jan 13, 2022
1 parent d8e329e commit 8983344
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# visual studio code files
.vscode
.dir-locals.el
.bash_history
.mysql_history

# Rust
target/
Expand Down
3 changes: 1 addition & 2 deletions tests/databend-test
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ def run_single_test(args, ext, client_options, case_file, stdout_file,
pattern = "sed '/^\s*--/d' {test} | {client} {options} > {stdout} 2>&1"

command = pattern.format(**params)

proc = Popen(command, shell=True, env=os.environ)
start_time = datetime.now()
while (datetime.now() -
Expand Down Expand Up @@ -546,7 +545,7 @@ if __name__ == '__main__':
help='Path to databend-query binary or name of binary in PATH')
parser.add_argument('-c',
'--client',
default='mysql',
default='stdbuf -i0 -o0 -e0 mysql',
help='Client program')
parser.add_argument('-opt',
'--options',
Expand Down

0 comments on commit 8983344

Please sign in to comment.