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-14 13:43:07 -0700
commitdb81728a49d356f8c67993d123b12e5edf1d0373 (patch)
treed658ea8be30ea63e12ce3ec1a5f3a3453c960ab8
parentb5bab6590ea2a66ad74d249a0bc0970717772b0e (diff)
downloadceph-db81728a49d356f8c67993d123b12e5edf1d0373.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