Unverified Commit b726d642 authored by Salvatore Sanfilippo's avatar Salvatore Sanfilippo Committed by GitHub
Browse files

Merge pull request #7240 from oranagra/fix_replication_test

fix unstable replication test
parents 1750513a b4416280
...@@ -513,9 +513,9 @@ start_server {tags {"repl"}} { ...@@ -513,9 +513,9 @@ start_server {tags {"repl"}} {
set master_port [srv 0 port] set master_port [srv 0 port]
set master_pid [srv 0 pid] set master_pid [srv 0 pid]
# put enough data in the db that the rdb file will be bigger than the socket buffers # put enough data in the db that the rdb file will be bigger than the socket buffers
# and since we'll have key-load-delay of 100, 10000 keys will take at least 1 second # and since we'll have key-load-delay of 100, 20000 keys will take at least 2 seconds
# we also need the replica to process requests during transfer (which it does only once in 2mb) # we also need the replica to process requests during transfer (which it does only once in 2mb)
$master debug populate 10000 test 10000 $master debug populate 20000 test 10000
$master config set rdbcompression no $master config set rdbcompression no
# If running on Linux, we also measure utime/stime to detect possible I/O handling issues # If running on Linux, we also measure utime/stime to detect possible I/O handling issues
set os [catch {exec unamee}] set os [catch {exec unamee}]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment