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

Commit

Permalink
k8s-conformance: Add support to run tests in parallel
Browse files Browse the repository at this point in the history
Fixes: #5675

Signed-off-by: Suraj Deshmukh <suraj.deshmukh@microsoft.com>
  • Loading branch information
surajssd committed May 30, 2023
1 parent d7b8c0b commit 2ac5993
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions integration/kubernetes/e2e_conformance/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ CRI_RUNTIME="${CRI_RUNTIME:-containerd}"
MINIMAL_K8S_E2E="${MINIMAL_K8S_E2E:-false}"
KATA_HYPERVISOR="${KATA_HYPERVISOR:-}"
RUNTIME_CLASS="${RUNTIME_CLASS:-kata}"
E2E_PARALLEL=false

# Overall Sonobuoy timeout in minutes.
WAIT_TIME=${WAIT_TIME:-180}
Expand Down Expand Up @@ -121,6 +122,9 @@ run_sonobuoy() {
cmd+=" --e2e-skip=\"${skip_options}\""
fi
fi

cmd+=" --plugin-env e2e.E2E_PARALLEL=${E2E_PARALLEL}"

echo "running: ${cmd}"
eval "${cmd}"

Expand Down

0 comments on commit 2ac5993

Please sign in to comment.