]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
tests: rbd cli integration test should explicitly select image format 4471/head
authorJason Dillaman <dillaman@redhat.com>
Mon, 27 Apr 2015 05:58:06 +0000 (01:58 -0400)
committerJason Dillaman <dillaman@redhat.com>
Mon, 27 Apr 2015 06:00:53 +0000 (02:00 -0400)
RBD format 2 is now the default image format, so tests involving the old
format should explicitly request the old format.

Fixes: #11477
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/test/cli-integration/rbd/formatted-output.t

index bc87e4326a3c45e89676b5413bd282e4dcb52dda..61ba9d18eb6534481f06fe99522867b414efda1d 100644 (file)
@@ -11,10 +11,10 @@ ls on empty pool never containing images
 
 create
 =======
-  $ rbd create -s 1024 foo
+  $ rbd create -s 1024 --image-format 1 foo
   $ rbd create -s 512 --image-format 2 bar
   $ rbd create -s 2048 --image-format 2 baz
-  $ rbd create -s 1 quux
+  $ rbd create -s 1 --image-format 1 quux
 
 snapshot
 ========