From 0caa02c5af29df89edfc2a153e11f9285acc7db5 Mon Sep 17 00:00:00 2001 From: Greg Farnum Date: Mon, 14 Oct 2013 13:43:07 -0700 Subject: [PATCH] workunits: check errors propagate on cache pools in caching_redirects.sh Signed-off-by: Greg Farnum Reviewed-by: Sage Weil --- qa/workunits/rados/caching_redirects.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qa/workunits/rados/caching_redirects.sh b/qa/workunits/rados/caching_redirects.sh index 19b940b5b4c68..6b2b201af16a6 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 -- 2.39.5