diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2020-09-10 17:07:53 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2020-09-10 17:09:43 +0200 |
commit | bfa3b97813f7764b9e8b4344682c6f55f02bb4c2 (patch) | |
tree | 9192f25b5d901169e3b45213cc0a11c54e198f5b /functest_kubernetes | |
parent | 21b36646e68b5c7cb46e696d7c08792055af8253 (diff) |
Allow setting e2e non blocking taints via env vars
Change-Id: I8132769ea23a376b2cae8b93beed27f5e66b9207
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit d4af425da9a60c0eb8e80cb74972b99e3deadeb8)
Diffstat (limited to 'functest_kubernetes')
-rw-r--r-- | functest_kubernetes/k8stest.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/functest_kubernetes/k8stest.py b/functest_kubernetes/k8stest.py index 5d3720a3..a759dce4 100644 --- a/functest_kubernetes/k8stest.py +++ b/functest_kubernetes/k8stest.py @@ -48,6 +48,9 @@ class E2ETesting(testcase.TestCase): '-provider', 'local', '-report-dir', self.res_dir] for arg in kwargs: cmd_line.extend(['-ginkgo.{}'.format(arg), kwargs.get(arg)]) + if "NON_BLOCKING_TAINTS" in os.environ: + cmd_line.extend( + ['-non-blocking-taints', os.environ["NON_BLOCKING_TAINTS"]]) cmd_line.extend(['-disable-log-dump', 'true']) self.__logger.info("Starting k8s test: '%s'.", cmd_line) process = subprocess.Popen(cmd_line, stdout=subprocess.PIPE, |