blob: b87168150d26de83d924d50e0417bb5651445ef0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/bash
. $(dirname $0)/../include.rc
cleanup;
TEST glusterd
TEST pidof glusterd
TEST $CLI volume create $V0 replica 2 $H0:$B0/brick0 $H0:$B0/brick1
TEST $CLI volume start $V0
EXPECT_WITHIN 15 'Started' volinfo_field $V0 'Status';
TEST $CLI volume profile $V0 start
TEST $CLI volume profile $V0 info
TEST $CLI volume profile $V0 stop
TEST $CLI volume status
TEST $CLI volume stop $V0
EXPECT_WITHIN 15 'Stopped' volinfo_field $V0 'Status';
cleanup;
|