summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAvra Sengupta <asengupt@redhat.com>2015-07-08 17:11:42 +0530
committerVijay Bellur <vbellur@redhat.com>2015-07-08 23:12:04 -0700
commit50a9e209ca58d8690ca9e8f4d3b1fd16ce522b02 (patch)
treee34f0bd8cd966eb5daa4e81d9d8b0da9f53fb9b6 /tests
parent8c3cec03e324037ece79f3285fd2fddadce0dd29 (diff)
tests/uss: Wait for process to come up before testing stat
Fix spurious failure where snapd takes a while to come up. Change-Id: I32931afd4ff78f8d930c70f49b26f08976033d42 BUG: 1241071 Signed-off-by: Avra Sengupta <asengupt@redhat.com> Reviewed-on: http://review.gluster.org/11579 Tested-by: Gluster Build System <jenkins@build.gluster.com> Tested-by: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Atin Mukherjee <amukherj@redhat.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/bugs/snapshot/bug-1109889.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bugs/snapshot/bug-1109889.t b/tests/bugs/snapshot/bug-1109889.t
index 6b0eb37f14f..6b29cdd9eb1 100644
--- a/tests/bugs/snapshot/bug-1109889.t
+++ b/tests/bugs/snapshot/bug-1109889.t
@@ -69,6 +69,6 @@ TEST $CLI volume start $V0 force;
# let client get the snapd port from glusterd and connect
EXPECT_WITHIN $CHILD_UP_TIMEOUT "1" snap_client_connected_status $V0
-TEST stat $M0/.snaps;
+EXPECT_WITHIN $PROCESS_UP_TIMEOUT "0" STAT $M0/.snaps
cleanup;