summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Farnum <greg@inktank.com>2013-10-14 13:43:07 -0700
committerGreg Farnum <greg@inktank.com>2013-10-17 13:11:46 -0700
commit2478d55ebf6209bb8791f050225fac8fe17532bb (patch)
treeb588133556180bf722dc2990c455188af0a4b4b5
parentdc618492ea893ed513a811af7301faa5dbad345e (diff)
downloadceph-2478d55ebf6209bb8791f050225fac8fe17532bb.tar.gz
workunits: check errors propagate on cache pools in caching_redirects.sh
Signed-off-by: Greg Farnum <greg@inktank.com>
-rwxr-xr-xqa/workunits/rados/caching_redirects.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/qa/workunits/rados/caching_redirects.sh b/qa/workunits/rados/caching_redirects.sh
index 19b940b5b4c..6b2b201af16 100755
--- a/qa/workunits/rados/caching_redirects.sh
+++ b/qa/workunits/rados/caching_redirects.sh
@@ -42,6 +42,9 @@ diff -q tmp.txt foo.txt
rados -p base_pool get barobj tmp.txt
diff -q tmp.txt foo.txt
+# try a nonexistent object and make sure we get an error
+expect_false rados -p base_pool get bazobj tmp.txt
+
# switch cache pools and make sure contents differ
ceph osd tier remove-overlay base_pool
ceph osd tier set-overlay base_pool data_cache