]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits: cephtool: set +e for the tcmalloc tests
authorJoao Eduardo Luis <joao.luis@inktank.com>
Tue, 24 Jun 2014 22:16:17 +0000 (23:16 +0100)
committerSage Weil <sage@redhat.com>
Fri, 1 Aug 2014 23:57:12 +0000 (16:57 -0700)
Avoids failing the tests when tcmalloc is not present

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
(cherry picked from commit 5c4616e100297ba8639919aca7a9cb59e4bda54a)

qa/workunits/cephtool/test.sh

index abb0dd96f045fa90e09d1448a6985c3791918eef..2c8befbe40c0a1694bb99e92085f695c87ecb42a 100755 (executable)
@@ -676,12 +676,14 @@ function test_mon_osd_misc()
 
 function test_mon_heap_profiler()
 {
+  set +e
   # expect 'heap' commands to be correctly parsed
   ceph heap stats
   ceph heap start_profiler
   ceph heap dump
   ceph heap stop_profiler
   ceph heap release
+  set -e
 }
 
 function test_osd_bench()