diff options
author | Shyam <srangana@redhat.com> | 2015-01-27 10:42:54 -0500 |
---|---|---|
committer | Krishnan Parthasarathi <kparthas@redhat.com> | 2015-01-27 22:13:00 -0800 |
commit | 2f640b3f3ce21c6790c661f53ff39474192b5a21 (patch) | |
tree | 9470f8f7543ff034cd5b6da5cc95a00123eb3768 | |
parent | ee3d92e83c64b654b42c9ecc5b0cc3ad80a1d51b (diff) |
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 <srangana@redhat.com>
Reviewed-on: http://review.gluster.org/9498
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com>
Tested-by: Krishnan Parthasarathi <kparthas@redhat.com>
-rw-r--r-- | tests/bugs/glusterd/bug-1104642.t | 2 |
1 files changed, 1 insertions, 1 deletions
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; |