diff options
-rw-r--r-- | tests/line-coverage/cli-peer-and-volume-operations.t | 1 | ||||
-rw-r--r-- | tests/line-coverage/cli-volume-top-profile-coverage.t | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/line-coverage/cli-peer-and-volume-operations.t b/tests/line-coverage/cli-peer-and-volume-operations.t index 81a849885a..27d7439a18 100644 --- a/tests/line-coverage/cli-peer-and-volume-operations.t +++ b/tests/line-coverage/cli-peer-and-volume-operations.t @@ -54,6 +54,7 @@ TEST $CLI_1 volume create $V0 $H1:$B1/$V0 $H2:$B2/$V0 $H3:$B3/$V0 # create a volume with already existing volume name TEST ! $CLI_1 volume create $V0 $H1:$B1/$V1 $H2:$B2/$V1 TEST $CLI_1 volume start $V0 +EXPECT 'Started' cluster_volinfo_field 1 $V0 'Status'; # Mount the volume and create files TEST glusterfs -s $H1 --volfile-id $V0 $M1 diff --git a/tests/line-coverage/cli-volume-top-profile-coverage.t b/tests/line-coverage/cli-volume-top-profile-coverage.t index 73b72ff244..35713c26fa 100644 --- a/tests/line-coverage/cli-volume-top-profile-coverage.t +++ b/tests/line-coverage/cli-volume-top-profile-coverage.t @@ -46,8 +46,8 @@ function test_volume_top_cmds () { # Testing volume profile command with and without xml function test_volume_profile_cmds () { local ret=0 - declare -a profile_cmds=("start" "info" "stop") - for cmd in ${profile_cmds[@]}; do + declare -a profile_cmds=("start" "info" "info peek" "info cumulative" "info clear" "info incremental peek" "stop") + for cmd in "${profile_cmds[@]}"; do $CLI_1 volume profile $V0 $cmd (( ret += $? )) $CLI_1 volume profile $V0 $cmd --xml |