aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2021-10-05 12:05:08 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2021-10-07 09:37:46 +0200
commit168daa419138af850cd9d2e0b307a0950451de96 (patch)
tree0ccbc59766d455d07bd51e56f8d8fea1b03eb2b8
parent269349508ab32522bc15777b51395c0f2455da13 (diff)
Set defaut provider to local back
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 <cedric.ollivier@orange.com> (cherry picked from commit b100b1254e06719bf1c779b9d53d0ac2da67fca4) (cherry picked from commit 329b58f2b897245dd91aedb280fec8db23ae25e1)
-rw-r--r--functest_kubernetes/k8stest.py3
1 files changed, 2 insertions, 1 deletions
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(