summaryrefslogtreecommitdiffstats
path: root/tests/bugs/snapshot/bug-1316437.t
blob: 300c03c97f51b580c08252b23aee6572f50443b6 (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
26
27
28
29
#!/bin/bash

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

cleanup;

TEST glusterd

# Intentionally not carving lvms for this as we will not be taking
# snapshots in this testcase
TEST $CLI volume create $V0 replica 3 $H0:$B0/${V0}{1,2,3,4,5,6};

TEST $CLI volume start $V0;

TEST $CLI volume set $V0 features.uss enable;

EXPECT_WITHIN $PROCESS_UP_TIMEOUT 'Y' check_if_snapd_exist

killall glusterd glusterfsd glusterfs

EXPECT_WITHIN $PROCESS_DOWN_TIMEOUT 'N' check_if_snapd_exist

glusterd

EXPECT_WITHIN $PROCESS_UP_TIMEOUT 'Y' check_if_snapd_exist

cleanup;