mirror of
https://github.com/fluencelabs/redis
synced 2025-04-02 15:51:05 +00:00
Test: more reliable AOF rewrite test under write load.
This commit is contained in:
parent
a94aa39c86
commit
3bf72d0d5f
@ -39,6 +39,16 @@ start_server {tags {"aofrw"}} {
|
|||||||
stop_write_load $load_handle3
|
stop_write_load $load_handle3
|
||||||
stop_write_load $load_handle4
|
stop_write_load $load_handle4
|
||||||
|
|
||||||
|
# Make sure that we remain the only connected client.
|
||||||
|
# This step is needed to make sure there are no pending writes
|
||||||
|
# that will be processed between the two "debug digest" calls.
|
||||||
|
wait_for_condition 50 100 {
|
||||||
|
[llength [split [string trim [r client list]] "\n"]] == 1
|
||||||
|
} else {
|
||||||
|
puts [r client list]
|
||||||
|
fail "Clients generating loads are not disconnecting"
|
||||||
|
}
|
||||||
|
|
||||||
# Get the data set digest
|
# Get the data set digest
|
||||||
set d1 [r debug digest]
|
set d1 [r debug digest]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user