diff options
Diffstat (limited to 'tests/bugs')
-rw-r--r-- | tests/bugs/glusterd/bug-1499509-disconnect-in-brick-mux.t | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/bugs/glusterd/bug-1499509-disconnect-in-brick-mux.t b/tests/bugs/glusterd/bug-1499509-disconnect-in-brick-mux.t new file mode 100644 index 00000000000..3c5bebee0c7 --- /dev/null +++ b/tests/bugs/glusterd/bug-1499509-disconnect-in-brick-mux.t @@ -0,0 +1,27 @@ +#!/bin/bash + +. $(dirname $0)/../../include.rc +. $(dirname $0)/../../volume.rc +. $(dirname $0)/../../cluster.rc + +cleanup + +TEST glusterd +TEST pidof glusterd + +## Enable brick multiplexing +TEST $CLI volume set all cluster.brick-multiplex on + +## creating 1x3 replicated volumes +TEST $CLI volume create $V0 replica 3 $H0:$B0/${V0}_{1..3} +TEST $CLI volume create $V1 replica 3 $H0:$B1/${V1}_{1..3} + +## Start the volume +TEST $CLI volume start $V0 +TEST $CLI volume start $V1 + +kill -9 $(pgrep glusterfsd) + +EXPECT 0 online_brick_count + +cleanup |