]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/cephtool/test.sh: cache forward mode is no longer allowed
authorSage Weil <sage@redhat.com>
Wed, 10 Jul 2019 14:58:23 +0000 (09:58 -0500)
committerSage Weil <sage@redhat.com>
Wed, 10 Jul 2019 22:39:19 +0000 (17:39 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
qa/workunits/cephtool/test.sh

index f03391362e67d9dc9d7659c1615eef49f74d8948..2d28950d1626daeb0c4aba939c3b9d8fa480d197 100755 (executable)
@@ -360,12 +360,15 @@ function test_tiering_1()
   expect_false ceph osd tier add slow2 cache
   # test some state transitions
   ceph osd tier cache-mode cache writeback
+  # forward is removed/deprecated
   expect_false ceph osd tier cache-mode cache forward
-  ceph osd tier cache-mode cache forward --yes-i-really-mean-it
+  expect_false ceph osd tier cache-mode cache forward --yes-i-really-mean-it
   expect_false ceph osd tier cache-mode cache readonly
+  ceph osd tier cache-mode cache proxy
+  ceph osd tier cache-mode cache none
   ceph osd tier cache-mode cache readonly --yes-i-really-mean-it
   expect_false ceph osd tier cache-mode cache forward
-  ceph osd tier cache-mode cache forward --yes-i-really-mean-it
+  expect_false ceph osd tier cache-mode cache forward --yes-i-really-mean-it
   ceph osd tier cache-mode cache none
   ceph osd tier cache-mode cache writeback
   ceph osd tier cache-mode cache proxy