diff options
author | Greg Farnum <greg@inktank.com> | 2013-10-14 13:43:07 -0700 |
---|---|---|
committer | Greg Farnum <greg@inktank.com> | 2013-10-17 13:11:46 -0700 |
commit | 2478d55ebf6209bb8791f050225fac8fe17532bb (patch) | |
tree | b588133556180bf722dc2990c455188af0a4b4b5 | |
parent | dc618492ea893ed513a811af7301faa5dbad345e (diff) | |
download | ceph-2478d55ebf6209bb8791f050225fac8fe17532bb.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 |