Skip to content

Commit

Permalink
e2e: relax dynamic demotion first detection round requirement
Browse files Browse the repository at this point in the history
Strict requirement makes the test flaky. Give two more rounds time for
detecting first memory moves.
  • Loading branch information
askervin committed Aug 22, 2023
1 parent aebff53 commit 6699d6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -36,7 +36,7 @@ pages_per_second_per_process="$(awk '

# After how many rounds (seconds) first migrations should be visible.
first_migrations_visible="$(awk '
/PageScanInterval:/{gsub(/[^0-9]/, "", $2); print $2+3}
/PageScanInterval:/{gsub(/[^0-9]/, "", $2); print $2+8}
' < "$cri_resmgr_cfg")"

# Expected migrated number of pages when fully migrated.
Expand Down
Expand Up @@ -38,7 +38,7 @@ pages_per_second_per_process="$(awk '

# After how many rounds (seconds) first migrations should be visible.
first_migrations_visible="$(awk '
/PageScanInterval:/{gsub(/[^0-9]/, "", $2); print $2+3}
/PageScanInterval:/{gsub(/[^0-9]/, "", $2); print $2+8}
' < "$cri_resmgr_cfg")"

# Expected migrated number of pages when fully migrated.
Expand Down

0 comments on commit 6699d6b

Please sign in to comment.