summaryrefslogtreecommitdiffstats
path: root/tests/performance/open-behind.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/performance/open-behind.t')
-rwxr-xr-xtests/performance/open-behind.t5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/performance/open-behind.t b/tests/performance/open-behind.t
index 5a24c83954d..e7a2bcf788b 100755
--- a/tests/performance/open-behind.t
+++ b/tests/performance/open-behind.t
@@ -1,12 +1,13 @@
#!/bin/bash
. $(dirname $0)/../include.rc
+. $(dirname $0)/../volume.rc
cleanup;
TEST glusterd
TEST pidof glusterd
-TEST $CLI volume info;
+TEST $CLI volume info 2>/dev/null;
TEST $CLI volume create $V0 $H0:$B0/${V0}{1,2};
@@ -49,6 +50,8 @@ EXPECT "" echo $string;
TEST $CLI volume set $V0 performance.open-behind off;
+EXPECT_WITHIN $GRAPH_SWITCH_TIMEOUT "2" num_graphs $M0;
+
D1="hello-this-is-a-test-message1";
F1="test-file1";