From afe949efcb845483e8e4bf858c0771dd3aa82c1e Mon Sep 17 00:00:00 2001 From: antirez Date: Thu, 26 Jun 2014 18:30:03 +0200 Subject: [PATCH] Remove infinite loop from PSYNC test. Added for debugging and forgot there. --- tests/integration/replication-psync.tcl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/integration/replication-psync.tcl b/tests/integration/replication-psync.tcl index e0a4e542..f131dafe 100644 --- a/tests/integration/replication-psync.tcl +++ b/tests/integration/replication-psync.tcl @@ -102,10 +102,8 @@ test_psync {ok psync} 6 1000000 3600 0 { assert {[s -1 sync_partial_ok] > 0} } -while 1 { - test_psync {no backlog} 6 100 3600 0.5 { - assert {[s -1 sync_partial_err] > 0} - } +test_psync {no backlog} 6 100 3600 0.5 { + assert {[s -1 sync_partial_err] > 0} } test_psync {ok after delay} 3 100000000 3600 3 { -- GitLab