From 168daa419138af850cd9d2e0b307a0950451de96 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Tue, 5 Oct 2021 12:05:08 +0200 Subject: Set defaut provider to local back MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It apply the same rules as sonuoboy. Any user is free to set skeleton or something else via testcases.yml. Change-Id: Id999dfd5fbcf9bde9430e0f35c63c41e80c8044f Signed-off-by: Cédric Ollivier (cherry picked from commit b100b1254e06719bf1c779b9d53d0ac2da67fca4) (cherry picked from commit 329b58f2b897245dd91aedb280fec8db23ae25e1) --- functest_kubernetes/k8stest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'functest_kubernetes') diff --git a/functest_kubernetes/k8stest.py b/functest_kubernetes/k8stest.py index 2d17a27d..7fef89bc 100644 --- a/functest_kubernetes/k8stest.py +++ b/functest_kubernetes/k8stest.py @@ -60,7 +60,8 @@ class E2ETesting(testcase.TestCase): 'ginkgo', '--nodes={}'.format(kwargs.get("nodes", 1)), '--noColor', '/usr/local/bin/e2e.test', '--', '-kubeconfig', self.config, - '-provider', 'skeleton', '-report-dir', self.res_dir] + '-provider', kwargs.get('provider', 'local'), + '-report-dir', self.res_dir] for arg in kwargs.get("ginkgo", {}): cmd_line.extend(['-ginkgo.{}'.format(arg), kwargs["ginkgo"][arg]]) for key, value in self.convert_ini_to_dict( -- cgit 1.2.3-korg