diff options
author | Greg Farnum <greg@inktank.com> | 2013-10-14 13:43:07 -0700 |
---|---|---|
committer | Greg Farnum <greg@inktank.com> | 2013-10-14 13:43:07 -0700 |
commit | db81728a49d356f8c67993d123b12e5edf1d0373 (patch) | |
tree | d658ea8be30ea63e12ce3ec1a5f3a3453c960ab8 | |
parent | b5bab6590ea2a66ad74d249a0bc0970717772b0e (diff) | |
download | ceph-db81728a49d356f8c67993d123b12e5edf1d0373.tar.gz |
workunits: check errors propagate on cache pools in caching_redirects.sh
Signed-off-by: Greg Farnum <greg@inktank.com>
-rwxr-xr-x | qa/workunits/rados/caching_redirects.sh | 3 |
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 |