summaryrefslogtreecommitdiffstats
path: root/tests/bugs/bug-1620580.t
diff options
context:
space:
mode:
authorAmar Tumballi <amarts@gmail.com>2019-10-01 15:49:18 +0530
committerRaghavendra Talur <rtalur@redhat.com>2019-10-03 02:09:28 +0000
commitda331e1e5a04650d340509b4d4de8f20aea0712d (patch)
tree617d444bf7dfc67c4cf432a4ec96e21a7bed8af5 /tests/bugs/bug-1620580.t
parent9b15867070b0cc241ab165886292ecffc3bc0aed (diff)
tests: add a pending test case
While merging the protocol handshake fixes (bz#1620580), there was a case which was left out. Adding it separately now. Change-Id: I52133d5fe160b4567400a65e60aac8f7bc20697f Updates: bz#1193929 Signed-off-by: Amar Tumballi <amarts@gmail.com>
Diffstat (limited to 'tests/bugs/bug-1620580.t')
-rw-r--r--tests/bugs/bug-1620580.t18
1 files changed, 17 insertions, 1 deletions
diff --git a/tests/bugs/bug-1620580.t b/tests/bugs/bug-1620580.t
index bc113d462e7..0c74d4a6089 100644
--- a/tests/bugs/bug-1620580.t
+++ b/tests/bugs/bug-1620580.t
@@ -38,6 +38,7 @@ TEST $CLI volume start $V0;
sleep 4
TEST ! ls $M0
+TEST ! touch $M0/file1
# Case of Same brick, but different volume (ie, recreated).
TEST $CLI volume create $V1 $H0:$B0/${V0}{1,2};
@@ -46,6 +47,21 @@ TEST $CLI volume start $V1;
# Give time for 'reconnect' to happen
sleep 4
TEST ! ls $M0
-TEST ! stat $M0/file
+TEST ! touch $M0/file2
+
+TEST $CLI volume stop $V0
+TEST $CLI volume delete $V0
+TEST $CLI volume stop $V1
+TEST $CLI volume delete $V1
+
+# Case of Same brick, but different volume (but same volume name)
+TEST $CLI volume create $V0 $H0:$B0/${V0}{1,2}
+TEST $CLI volume start $V0;
+
+# Give time for 'reconnect' to happen
+sleep 4
+TEST ! ls $M0
+TEST ! touch $M0/file3
+
cleanup