]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
test/run-rbd-tests: properly initialize newly created rbd pool
authorMykola Golub <mgolub@suse.com>
Sun, 1 Mar 2020 08:47:21 +0000 (08:47 +0000)
committerMykola Golub <mgolub@suse.com>
Sun, 1 Mar 2020 08:54:44 +0000 (08:54 +0000)
The scheduler tests from cli_generic expect 'rbd' pool marked as rbd
application pool.

Signed-off-by: Mykola Golub <mgolub@suse.com>
src/test/run-rbd-tests

index 9e3a95e8473eed407552d6b542205dc978114e29..e431dd95d8603a2460dca4d3288ca7b603f6e198 100755 (executable)
@@ -18,6 +18,7 @@ recreate_pool() {
     PG_NUM=100
     ceph osd pool delete $POOL_NAME $POOL_NAME --yes-i-really-really-mean-it
     ceph osd pool create $POOL_NAME $PG_NUM
+    rbd pool init $POOL_NAME
 }
 
 run_cli_tests() {