From 11435446c9022bba8e982e35e17fe87e5d784709 Mon Sep 17 00:00:00 2001 From: Tyler Gu Date: Mon, 23 Oct 2023 06:39:46 -0500 Subject: [PATCH] Fix regex for request log Signed-off-by: Tyler Gu --- acto/post_process/simple_crash_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acto/post_process/simple_crash_test.py b/acto/post_process/simple_crash_test.py index e4831fa91..19f22b3a3 100644 --- a/acto/post_process/simple_crash_test.py +++ b/acto/post_process/simple_crash_test.py @@ -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)