Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

Commit 98cf5b9

Browse files
committed
k8s-conformance: Add support to run tests in parallel
Fixes: #5675 Signed-off-by: Suraj Deshmukh <[email protected]>
1 parent d7b8c0b commit 98cf5b9

File tree

1 file changed

+4
-0
lines changed
  • integration/kubernetes/e2e_conformance

1 file changed

+4
-0
lines changed

integration/kubernetes/e2e_conformance/run.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ CRI_RUNTIME="${CRI_RUNTIME:-containerd}"
2828
MINIMAL_K8S_E2E="${MINIMAL_K8S_E2E:-false}"
2929
KATA_HYPERVISOR="${KATA_HYPERVISOR:-}"
3030
RUNTIME_CLASS="${RUNTIME_CLASS:-kata}"
31+
E2E_PARALLEL="${E2E_PARALLEL:-false}"
3132

3233
# Overall Sonobuoy timeout in minutes.
3334
WAIT_TIME=${WAIT_TIME:-180}
@@ -121,6 +122,9 @@ run_sonobuoy() {
121122
cmd+=" --e2e-skip=\"${skip_options}\""
122123
fi
123124
fi
125+
126+
cmd+=" --plugin-env e2e.E2E_PARALLEL=${E2E_PARALLEL}"
127+
124128
echo "running: ${cmd}"
125129
eval "${cmd}"
126130

0 commit comments

Comments
 (0)