Skip to content

Commit

Permalink
chore: slightly increase max boottime for ftrace
Browse files Browse the repository at this point in the history
Because now we have ftrace enabled in guest kernels,
the boot time increases slightly and no longer satisfies
150000 us time.

Signed-off-by: Egor Lazarchuk <yegorlz@amazon.co.uk>
  • Loading branch information
ShadowCurse committed Sep 16, 2024
1 parent 865b0dd commit ec7e13a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/integration_tests/performance/test_boottime.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
from framework.properties import global_props

# The maximum acceptable boot time in us.
MAX_BOOT_TIME_US = 150000
# It is a bit bigger than the default 150_000 because
# we have ftrace enabled in the guest kernels.
MAX_BOOT_TIME_US = 170000

# Regex for obtaining boot time from some string.
TIMESTAMP_LOG_REGEX = r"Guest-boot-time\s+\=\s+(\d+)\s+us"
Expand Down

0 comments on commit ec7e13a

Please sign in to comment.