From 2d3bfc6b53974c80c347d1285b6a5a7cd60d7a13 Mon Sep 17 00:00:00 2001 From: Avra Sengupta Date: Mon, 4 May 2015 14:19:36 +0530 Subject: snapshot/uss: fix regression failure in bug-1162498.t .snaps seems to take some time, before it is available based on the state of the system. Using EXPECT_WITHIN instead of TEST to check the contents of .snaps, hence giving it some time to come up. Change-Id: Iac166500d5a09ba8bab00d994c27a9ad0a01b9c3 BUG: 1218120 Signed-off-by: Avra Sengupta Reviewed-on: http://review.gluster.org/10518 Tested-by: Gluster Build System Reviewed-by: Rajesh Joseph Reviewed-by: Pranith Kumar Karampuri --- tests/basic/uss.t | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tests/basic') diff --git a/tests/basic/uss.t b/tests/basic/uss.t index da195a949e2..c41217ca025 100644 --- a/tests/basic/uss.t +++ b/tests/basic/uss.t @@ -23,10 +23,6 @@ function lookup() fi } -count_snaps () { - ls $1/.snaps | wc -l -} - cleanup; TESTS_EXPECTED_IN_LOOP=10 -- cgit