> Hmm, I wonder if this might be a failure that only occurs randomly,
> based on timing or something like that.

Could you try the attached patch?


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diff --git a/tests/integration/replication-psync.tcl 
b/tests/integration/replication-psync.tcl
index 3a41ceb..02da6a5 100644
--- a/tests/integration/replication-psync.tcl
+++ b/tests/integration/replication-psync.tcl
@@ -37,7 +37,7 @@ proc test_psync {descr duration backlog_size backlog_ttl 
delay cond diskless rec
 
             test {Slave should be able to synchronize with the master} {
                 $slave slaveof $master_host $master_port
-                wait_for_condition 50 100 {
+                wait_for_condition 1000 100 {
                     [lindex [r role] 0] eq {slave} &&
                     [lindex [r role] 3] eq {connected}
                 } else {

Reply via email to