summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoao Eduardo Luis <jecluis@gmail.com>2013-09-20 17:06:30 +0100
committerSage Weil <sage@inktank.com>2013-09-24 09:02:42 -0700
commit410db3f30c6eb54b807908c1f251ad4026e7d446 (patch)
treeae58e4eeaefb9bb0c4e75fada654dfe94044a81c
parent062060a38bb26ff260cc51accc534413d726de49 (diff)
downloadceph-410db3f30c6eb54b807908c1f251ad4026e7d446.tar.gz
qa: workunits: cephtool: check if 'heap' commands are parseable
Signed-off-by: Joao Eduardo Luis <jecluis@gmail.com> (cherry picked from commit b1eeaddd5f214c1b0883b44fc8cae07c649be7c4)
-rwxr-xr-xqa/workunits/cephtool/test.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/qa/workunits/cephtool/test.sh b/qa/workunits/cephtool/test.sh
index 7915e48a6ed..8fdbbda0c23 100755
--- a/qa/workunits/cephtool/test.sh
+++ b/qa/workunits/cephtool/test.sh
@@ -310,4 +310,11 @@ ceph pg set_full_ratio 95 2>$TMPFILE; check_response $? 22 'not in range'
# expect "not in range" for invalid overload percentage
ceph osd reweight-by-utilization 80 2>$TMPFILE; check_response $? 22 'not in range'
+# expect 'heap' commands to be correctly parsed
+ceph heap stats
+ceph heap start_profiler
+ceph heap dump
+ceph heap stop_profiler
+ceph heap release
+
echo OK