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 reliability tests regex statements #5782

Merged
merged 1 commit into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def test_cluster_connection(artifacts_path):
with open(log_file) as f:
s = mmap(f.fileno(), 0, access=ACCESS_READ)
# Search first successful connection message.
conn = re.search(rb'^.*Successfully connected to master.*$', s, flags=re.MULTILINE)
conn = re.search(rb'^.*Successful response from master: keepalive*$', s, flags=re.MULTILINE)
if not conn:
pytest.fail(f'Could not find "Successfully connected to master" message in the '
f'{node_name.search(log_file)[1]}')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
node_name = compile(r'.*/(master|worker_[\d]+)/logs/cluster.log')
integrity_regex = compile(r'.*Compressing \'files_metadata.json\' of ([0-9]*) files.*|'
r'(.*Files to create: ([0-9]*) \| Files to update: '
r'([0-9]*) \| Files to delete: ([0-9]*) \| Files to send: ([0-9]*).*)'.encode())
r'([0-9]*) \| Files to delete: ([0-9]*).*)'.encode())
repeated_syncs = {}


Expand Down