summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/line-coverage/cli-peer-and-volume-operations.t1
-rw-r--r--tests/line-coverage/cli-volume-top-profile-coverage.t4
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 81a849885a3..27d7439a180 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 73b72ff2446..35713c26faa 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