Skip to content

Commit

Permalink
reduce test time
Browse files Browse the repository at this point in the history
  • Loading branch information
soloestoy committed Sep 13, 2021
1 parent 9fbdb75 commit c83d5a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions tests/integration/psync2-master-restart.tcl
Expand Up @@ -72,10 +72,10 @@ start_server {} {
$master debug set-active-expire 0
for {set j 0} {$j < 1024} {incr j} {
$master select [expr $j%16]
$master setex $j 1 somevalue
$master set $j somevalue px 10
}

after 1100
after 20

wait_for_condition 500 100 {
[status $master master_repl_offset] == [status $replica master_repl_offset] &&
Expand Down Expand Up @@ -120,10 +120,10 @@ start_server {} {
$master debug set-active-expire 0
for {set j 0} {$j < 1024} {incr j} {
$master select [expr $j%16]
$master setex $j 1 somevalue
$master set $j somevalue px 10
}

after 1100
after 20

wait_for_condition 500 100 {
[status $master master_repl_offset] == [status $replica master_repl_offset] &&
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/rdb.tcl
Expand Up @@ -214,9 +214,9 @@ start_server {} {
r debug set-active-expire 0
for {set j 0} {$j < 1024} {incr j} {
r select [expr $j%16]
r setex $j 1 somevalue
r set $j somevalue px 10
}
after 1100
after 20

r save
restart_server 0 true false
Expand Down

0 comments on commit c83d5a7

Please sign in to comment.