Commit 44804a3
committed
qa/workunits/rbd: use create_image_and_enable_mirror() in bootstrap tests
The reason create_image() + enable_mirror() happens to work for
PARENT_POOL is that PARENT_POOL is enabled for mirroring in image mode
unconditionally, unlike POOL, POOL/NS1 or PARENT_POOL/NS1 for which
MIRROR_POOL_MODE setting is respected. This isn't immediately obvious
because it's done in setup_pools() in rbd_mirror_helpers.sh.
Switch to create_image_and_enable_mirror() for clarity.
Signed-off-by: Ilya Dryomov <[email protected]>1 parent 774016b commit 44804a3
1 file changed
+2
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
| 65 | + | |
| 66 | + | |
71 | 67 | | |
72 | 68 | | |
73 | 69 | | |
| |||
0 commit comments