From 2f640b3f3ce21c6790c661f53ff39474192b5a21 Mon Sep 17 00:00:00 2001 From: Shyam Date: Tue, 27 Jan 2015 10:42:54 -0500 Subject: test: Check till probe timeout, for conf change sync across glusterd Currently the test case changed here, checks for the peer count to be 1 until probe timeout and then checks for the changed configuration, if it has been synced. The peer count is not a gurantee that the configuration is also in sync, hence changing this test case to check for the conf update till probe timeout, by which time it should be in sync (or at least that is our tolerance), and the test case deemed as passing. Change-Id: I4b1560979cfde3bd3bd691852d7d3a63e253bcf2 BUG: 1181203 Signed-off-by: Shyam Reviewed-on: http://review.gluster.org/9498 Tested-by: Gluster Build System Reviewed-by: Atin Mukherjee Reviewed-by: Krishnan Parthasarathi Tested-by: Krishnan Parthasarathi --- tests/bugs/glusterd/bug-1104642.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/bugs/glusterd/bug-1104642.t b/tests/bugs/glusterd/bug-1104642.t index a45a617d235..000093a8ae2 100644 --- a/tests/bugs/glusterd/bug-1104642.t +++ b/tests/bugs/glusterd/bug-1104642.t @@ -42,6 +42,6 @@ TEST $glusterd_2 #Verify whether the value has been synced EXPECT '80' get_value 'cluster.server-quorum-ratio' 1 EXPECT_WITHIN $PROBE_TIMEOUT '1' peer_count -EXPECT '80' get_value 'cluster.server-quorum-ratio' 2 +EXPECT_WITHIN $PROBE_TIMEOUT '80' get_value 'cluster.server-quorum-ratio' 2 cleanup; -- cgit