aboutsummaryrefslogtreecommitdiffstats
path: root/functest_kubernetes
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2021-01-25 18:42:13 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2021-04-02 10:05:21 +0200
commita6f185eed401b03347fca2d5992cf0643beaeea3 (patch)
tree0fda9b7d80c809b015835d53130d2dd5842033c4 /functest_kubernetes
parent9ba1cab231cca64561dd9a222f1e9c3cad7aa128 (diff)
Export GINKGO_PARALLEL=y
It would speedup the testing. Change-Id: I084bcf0d44a060f65eb9549eab8dcbbf5a4cc9d5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 65d860c6ee36641ad7d248f7dc8a6f63f3173301)
Diffstat (limited to 'functest_kubernetes')
-rw-r--r--functest_kubernetes/k8stest.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/functest_kubernetes/k8stest.py b/functest_kubernetes/k8stest.py
index a759dce4..35649edc 100644
--- a/functest_kubernetes/k8stest.py
+++ b/functest_kubernetes/k8stest.py
@@ -53,8 +53,10 @@ class E2ETesting(testcase.TestCase):
['-non-blocking-taints', os.environ["NON_BLOCKING_TAINTS"]])
cmd_line.extend(['-disable-log-dump', 'true'])
self.__logger.info("Starting k8s test: '%s'.", cmd_line)
+ env = os.environ.copy()
+ env["GINKGO_PARALLEL"] = 'y'
process = subprocess.Popen(cmd_line, stdout=subprocess.PIPE,
- stderr=subprocess.STDOUT)
+ stderr=subprocess.STDOUT, env=env)
boutput = process.stdout.read()
with open(os.path.join(self.res_dir, 'e2e.log'), 'wb') as foutput:
foutput.write(boutput)