Skip to content

Commit

Permalink
minor fix test case.
Browse files Browse the repository at this point in the history
  • Loading branch information
patpatbear committed Sep 3, 2023
1 parent 5b16f93 commit a01f48a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/swap/integration/persist.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ start_server {tags {persist} overrides {swap-persist-enabled yes swap-dirty-subk
wait_key_clean r myhash5
set now [clock milliseconds]
# wont persist across writes
assert {[expr $now - $start] < 1000}
assert {[expr $now - $start] < 2000}

restart_server 0 true false

Expand Down
2 changes: 1 addition & 1 deletion tests/swap/support/util.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ proc keyspace_is_cold {r} {
}

proc wait_key_clean {r key} {
wait_for_condition 500 40 {
wait_for_condition 500 100 {
![object_is_dirty $r $key]
} else {
fail "wait $key clean failed."
Expand Down

0 comments on commit a01f48a

Please sign in to comment.