]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: elide python version config 28638/head
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 18 Jun 2019 22:14:22 +0000 (15:14 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 20 Jun 2019 01:22:51 +0000 (18:22 -0700)
This test doesn't actually use the config and cephfs-shell is py3 only.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
qa/suites/fs/basic_functional/tasks/cephfs-shell.yaml [new file with mode: 0644]
qa/suites/fs/basic_functional/tasks/cephfs-shell/+ [deleted file]
qa/suites/fs/basic_functional/tasks/cephfs-shell/.qa [deleted symlink]
qa/suites/fs/basic_functional/tasks/cephfs-shell/py-3.yaml [deleted file]
qa/suites/fs/basic_functional/tasks/cephfs-shell/test.yaml [deleted file]
qa/tasks/cephfs/test_cephfs_shell.py

diff --git a/qa/suites/fs/basic_functional/tasks/cephfs-shell.yaml b/qa/suites/fs/basic_functional/tasks/cephfs-shell.yaml
new file mode 100644 (file)
index 0000000..93c1eb5
--- /dev/null
@@ -0,0 +1,8 @@
+# Right now, cephfs-shell is only available as a package on Ubuntu
+# This overrides the random distribution that's chosen in the other yaml fragments.
+os_type: ubuntu
+os_version: "18.04"
+tasks:
+  - cephfs_test_runner:
+      modules:
+        - tasks.cephfs.test_cephfs_shell
diff --git a/qa/suites/fs/basic_functional/tasks/cephfs-shell/+ b/qa/suites/fs/basic_functional/tasks/cephfs-shell/+
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/qa/suites/fs/basic_functional/tasks/cephfs-shell/.qa b/qa/suites/fs/basic_functional/tasks/cephfs-shell/.qa
deleted file mode 120000 (symlink)
index fea2489..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../.qa
\ No newline at end of file
diff --git a/qa/suites/fs/basic_functional/tasks/cephfs-shell/py-3.yaml b/qa/suites/fs/basic_functional/tasks/cephfs-shell/py-3.yaml
deleted file mode 100644 (file)
index 9bd4a92..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-overrides:
-  python: python3
diff --git a/qa/suites/fs/basic_functional/tasks/cephfs-shell/test.yaml b/qa/suites/fs/basic_functional/tasks/cephfs-shell/test.yaml
deleted file mode 100644 (file)
index 93c1eb5..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-# Right now, cephfs-shell is only available as a package on Ubuntu
-# This overrides the random distribution that's chosen in the other yaml fragments.
-os_type: ubuntu
-os_version: "18.04"
-tasks:
-  - cephfs_test_runner:
-      modules:
-        - tasks.cephfs.test_cephfs_shell
index 43f8cf822c385eda9e364d279219e1baa11f4b3e..31f16b44a257057b4e9db8e01f2c80a4fc617074 100644 (file)
@@ -11,12 +11,6 @@ log = logging.getLogger(__name__)
 
 class TestCephFSShell(CephFSTestCase):
     CLIENTS_REQUIRED = 1
-    py_version = 'python'
-
-    def setUp(self):
-        CephFSTestCase.setUp(self)
-        self.py_version = self.ctx.config.get('overrides', {}).get('python', 'python')
-        log.info("using python version: {}".format(self.py_version))
 
     def _cephfs_shell(self, cmd, opts=None, stdin=None):
         args = ["cephfs-shell", "-c", self.mount_a.config_path]