]> git.apps.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)
committerJoao Eduardo Luis <joao.luis@inktank.com>
Thu, 26 Jun 2014 00:00:36 +0000 (01:00 +0100)
Avoids failing the tests when tcmalloc is not present

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
qa/workunits/cephtool/test.sh

index 7eefb02ce988308be70c07f54075a0f9c1515adf..b45fe32d57b3af9ec4b279704c3b420635504d80 100755 (executable)
@@ -693,12 +693,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()