resolve replication test timing sensitivity (#9982)

issue started failing after #9878 was merged (made an exiting test more sensitive)
This commit is contained in:
Oran Agra 2021-12-22 16:05:53 +02:00 committed by GitHub
parent 41e6e05dee
commit e33e0295bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -540,8 +540,8 @@ foreach testType {Successful Aborted} {
switch $testType {
"Aborted" {
# Set master with a slow rdb generation, so that we can easily intercept loading
# 10ms per key, with 1000 keys is 10 seconds
$master config set rdb-key-save-delay 10000
# 30ms per key, with 1000 keys is 30 seconds
$master config set rdb-key-save-delay 30000
test {Diskless load swapdb (async_loading): replica enter async_loading} {
# Wait for the replica to start reading the rdb