test: handle the create-pg delay when testing cache split syntax

Signed-off-by: Greg Farnum <greg@inktank.com>
Reviewed-by: Samuel Just <sam.just@inktank.com>
This commit is contained in:
Greg Farnum 2014-04-18 11:01:40 -07:00
parent d07ce84148
commit 82edda23aa

View File

@ -61,7 +61,9 @@ expect_false ceph osd tier add metadata cache
ceph osd tier cache-mode cache writeback
ceph osd tier cache-mode cache readonly
expect_false ceph osd pool set cache pg_num 3
ceph osd pool set cache pg_num 3 --yes-i-really-mean-it
set +e
ceph osd pool set cache pg_num 3 --yes-i-really-mean-it 2>$TMPFILE ; check_response 'currently creating pgs' $? 16
set -e
ceph osd tier cache-mode cache none
ceph osd tier set-overlay data cache
expect_false ceph osd tier set-overlay data cache2