summaryrefslogtreecommitdiffstats
path: root/tests/bugs/glusterd/bug-1482344-volume-option-set-cluster-level.t
blob: 481dee186b8585caa45b214305d9516ff5b05f0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash

#Test case: glusterd should disallow a volume level option to be set cluster
wide and glusterd should not crash

. $(dirname $0)/../../include.rc
. $(dirname $0)/../../volume.rc

cleanup;

#Basic checks
TEST glusterd
TEST pidof glusterd

#Create a 2x1 distributed volume
TEST $CLI volume create $V0 $H0:$B0/${V0}{1,2};
TEST $CLI volume start $V0

TEST ! $CLI volume set all transport.listen-backlog 128

# Check the volume info output, if glusterd would have crashed then this command
# will fail
TEST $CLI volume info $V0;

cleanup;