Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix flaky test test_four_word_command #226

Merged
merged 2 commits into from
Apr 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tests/integration/test_four_word_command/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,8 +441,9 @@ def test_cmd_crst(started_cluster):
print(data)

# 2 connections, 1 for 'cons' command, 1 for zk
# but len(cons) may be large than 2, if the connection of `crst` is not destroied
cons = [n for n in data.split('\n') if len(n) > 0]
assert len(cons) == 2
assert len(cons) >= 2

zk_con = None
if 'sid' in cons[0]:
Expand Down
Loading