Skip to content

Commit 5980322

Browse files
authored
Merge branch 'main' into mmds_accept
2 parents 809b8cf + dcf1181 commit 5980322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration_tests/performance/test_boottime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def get_systemd_analyze_times(microvm):
7575
# The line will look like this:
7676
# Startup finished in 79ms (kernel) + 231ms (userspace) = 310ms
7777
# In the regex we capture the time and the unit for kernel, userspace and total values
78-
pattern = r"Startup finished in (\d*)(ms|s)\s+\(kernel\) \+ (\d*)(ms|s)\s+\(userspace\) = ([\d.]*)(ms|s)\s*"
78+
pattern = r"Startup finished in ([\d.]*)(ms|s)\s+\(kernel\) \+ ([\d.]*)(ms|s)\s+\(userspace\) = ([\d.]*)(ms|s)\s*"
7979
kernel, kernel_unit, userspace, userspace_unit, total, total_unit = re.findall(
8080
pattern, boot_line
8181
)[0]

0 commit comments

Comments
 (0)