]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
qa/tasks: nosetests -> python -m nose
authorSage Weil <sage@redhat.com>
Tue, 17 Dec 2019 18:57:57 +0000 (12:57 -0600)
committerSage Weil <sage@redhat.com>
Tue, 17 Dec 2019 18:57:57 +0000 (12:57 -0600)
Signed-off-by: Sage Weil <sage@redhat.com>
qa/tasks/ragweed.py
qa/tasks/s3tests.py
qa/tasks/swift.py
qa/workunits/rgw/run-s3tests.sh

index 67b16851b7bdfb1d7d08cdb71ff144795f5313d9..2a0027ab2c7be674b440c6cffff3d4b2d5d9b375 100644 (file)
@@ -256,7 +256,8 @@ def run_tests(ctx, config, run_stages):
             'RAGWEED_CONF={tdir}/archive/ragweed.{client}.conf'.format(tdir=testdir, client=client),
             'RAGWEED_STAGES={stages}'.format(stages=stages),
             'BOTO_CONFIG={tdir}/boto.cfg'.format(tdir=testdir),
-            '{tdir}/ragweed/virtualenv/bin/nosetests'.format(tdir=testdir),
+            '{tdir}/ragweed/virtualenv/bin/python'.format(tdir=testdir),
+            '-m', 'nose',
             '-w',
             '{tdir}/ragweed'.format(tdir=testdir),
             '-v',
index 52b7915d9d524ef4ea08e3ae69d75d86360b2cbc..92498dc8df8a37d6c80c2c0b72914e4d2b99b04c 100644 (file)
@@ -294,7 +294,8 @@ def run_tests(ctx, config):
         if client_config.get('calling-format') != 'ordinary':
             attrs += ['!fails_with_subdomain']
         args += [
-            '{tdir}/s3-tests/virtualenv/bin/nosetests'.format(tdir=testdir),
+            '{tdir}/s3-tests/virtualenv/bin/python'.format(tdir=testdir),
+            '-m', 'nose',
             '-w',
             '{tdir}/s3-tests'.format(tdir=testdir),
             '-v',
index e89fcf03e480940cdb7c3a60950cfc47b0fab63e..c17a9aa5ffcdc2b953be41369d3b0e21eb2a4c22 100644 (file)
@@ -152,7 +152,8 @@ def run_tests(ctx, config):
     for client, client_config in config.items():
         args = [
                 'SWIFT_TEST_CONFIG_FILE={tdir}/archive/testswift.{client}.conf'.format(tdir=testdir, client=client),
-                '{tdir}/swift/virtualenv/bin/nosetests'.format(tdir=testdir),
+                '{tdir}/swift/virtualenv/bin/python'.format(tdir=testdir),
+                '-m', 'nose',
                 '-w',
                 '{tdir}/swift/test/functional'.format(tdir=testdir),
                 '-v',
index 47969c63bee89d53f4f6f0922955c8df375463cd..4f40bbd315231ed7cb2af207b74c7dbcb0795575 100755 (executable)
@@ -32,7 +32,7 @@ cd s3-tests
 git checkout ceph-$branch
 VIRTUALENV_PYTHON=/usr/bin/python3 ./bootstrap
 
-S3TEST_CONF=s3tests.conf.SAMPLE virtualenv/bin/nosetests -a '!fails_on_rgw,!lifecycle_expiration,!fails_strict_rfc2616' -v
+S3TEST_CONF=s3tests.conf.SAMPLE virtualenv/bin/python -m nose -a '!fails_on_rgw,!lifecycle_expiration,!fails_strict_rfc2616' -v
 
 cd ../..
 rm -rf $dir