]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/cephtool/test.sh: false positive fail on /tmp/obj1. 6837/head
authorRobin H. Johnson <robin.johnson@dreamhost.com>
Mon, 7 Dec 2015 22:41:12 +0000 (14:41 -0800)
committerRobin H. Johnson <robin.johnson@dreamhost.com>
Mon, 7 Dec 2015 23:27:12 +0000 (15:27 -0800)
If /tmp/obj1 happened to exist already, and was not writable by the
testing user, then this test failed!

Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
qa/workunits/cephtool/test.sh

index 4929bb65266fdabb4a24a476a91e8c46ac9202d6..5b6fbf25c7f88f287ba1196b2cc5d705d846847f 100755 (executable)
@@ -247,7 +247,7 @@ function test_tiering_agent()
   done
   $evicted # assert
   # the object is proxy read and promoted to the cache
-  rados -p $slow get obj1 /tmp/obj1
+  rados -p $slow get obj1 - >/dev/null
   # wait for the promoted object to be evicted again
   evicted=false
   for i in 1 2 4 8 16 32 64 128 256 ; do