Skip to content

Commit

Permalink
Fix regex for request log
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Gu <[email protected]>
  • Loading branch information
tylergu committed Oct 23, 2023
1 parent a17bdea commit 1143544
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acto/post_process/simple_crash_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def replace_anvil_crash_config_map(
# Counting how many requests in total in the step
count = 0
for line in operator_log:
if re.match(r"^Reconciling(?:Create|Update).*", line):
if re.match(r"^Reconciling.*(Create|Update).*", line):
count += 1

target_count = math.floor(count * 0.7)
Expand Down

0 comments on commit 1143544

Please sign in to comment.