Test: fix, hopefully, false PSYNC failure like in issue #2715.

And many other related Github issues... all reporting the same problem.
There was probably just not enough backlog in certain unlucky runs.
I'll ask people that can reporduce if they see now this as fixed as
well.
This commit is contained in:
antirez 2017-04-14 17:53:11 +02:00
parent 0530c7e564
commit a2e3dc0a1d

View File

@ -110,7 +110,7 @@ foreach diskless {no yes} {
test_psync {no reconnection, just sync} 6 1000000 3600 0 { test_psync {no reconnection, just sync} 6 1000000 3600 0 {
} $diskless 0 } $diskless 0
test_psync {ok psync} 6 1000000 3600 0 { test_psync {ok psync} 6 100000000 3600 0 {
assert {[s -1 sync_partial_ok] > 0} assert {[s -1 sync_partial_ok] > 0}
} $diskless 1 } $diskless 1