]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/run-rbd-tests: s/nosetests/python3 -m nose/ 31525/head
authorKefu Chai <kchai@redhat.com>
Thu, 19 Dec 2019 03:46:16 +0000 (11:46 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 19 Dec 2019 04:06:00 +0000 (12:06 +0800)
different distro use different names for nosetests3, so let's just go
with `python3 -m nose`

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/run-rbd-tests

index 149fbf2ae7d7058510ee80976f271c5b9c5052c8..9e3a95e8473eed407552d6b542205dc978114e29 100755 (executable)
@@ -41,7 +41,7 @@ run_generic_tests() {
 
 run_api_tests() {
     # skip many_snaps since it takes several minutes
-    nosetests -v test_rbd -e '.*many_snaps'
+    python3 -m nose -v test_rbd -e '.*many_snaps'
     # ceph_test_librbd creates its own pools
     ceph_test_librbd
 }