test(coordinator): parallelize the e2e suite - #2302
Draft
revit13 wants to merge 2 commits into
Draft
Conversation
revit13
marked this pull request as draft
August 6, 2026 11:10
revit13
force-pushed
the
parallel-coord
branch
8 times, most recently
from
August 11, 2026 03:39
2aed284 to
646aae7
Compare
Signed-off-by: Revital Sur <eres@il.ibm.com>
revit13
force-pushed
the
parallel-coord
branch
from
August 11, 2026 04:48
646aae7 to
fe09c41
Compare
Signed-off-by: Revital Sur <eres@il.ibm.com>
revit13
force-pushed
the
parallel-coord
branch
from
August 11, 2026 06:54
fe09c41 to
2854d24
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What type of PR is this?
/kind test
What this PR does / why we need it:
Which issue(s) this PR fixes:
Parallelizes the coordinator e2e suite, applying the same mechanism the router
e2e already uses (#1931 / PR #2033):
ginkgo run --procs=Nover one Kindcluster, with per-process namespaces and NodePorts.
Measured on a local dev machine (22 cores, 31 GB, WSL2), not CI:
make -f Makefile.coord.mk test-e2e-coordinator-rundrops from 8m41s to 5m05sat the default
E2E_NUM_PROCS=5, a 1.7x speedup. CI runners are smaller, soexpect a different absolute number there
Suite lifecycle.
SynchronizedBeforeSuiteprovisions the cluster, CRDs,and a single
vllm-renderonce on process 1; every other process only buildsits own client.
ReportAfterSuitetears down what process 1 created.Per-group infra. A
testWrappermirroring the router's creates thenamespace, Envoy, and the Services/ServiceAccounts/RBAC each group binds to in
BeforeAll, and removes them inAfterAll. Each of the 9 scenarios becomesits own
When(..., ginkgo.Ordered, testWrapper(...))group so Ginkgo candistribute them;
Orderedkeeps a group on the process that built its Envoy.Shared renderer. One
vllm-renderin the base namespace serves everyprocess. The pipeline config gains
${RENDER_NAMESPACE}for the render stepso it resolves cross-namespace while the gateway stays on
${NAMESPACE}.Per-process NodePort.
shared-envoy-resources.yamltakes${ENVOY_NODE_PORT}instead of a hardcoded30080, matching the router'senvoy.yaml; without it processes 2..N collide on one port.Shared helpers.
SetupNamespace/DeleteNamespacemove totest/utils,replacing near-identical copies in both suites.
DeleteNamespacewaitsReadyTimeoutrather thanExistsTimeout: finalizing a namespace meansreaping every pod in it, and the EPP's drain alone exceeds 30s.
Runner.
run_ginkgo_suitetakes an optional timeout; the coordinatorpasses 90m.
E2E_NUM_PROCS(default 5) is forwarded throughMakefile.coord.mksoginkgo --procsand the suite'snumProcessesagree.Fixes #
Release note (write
NONEif no user-facing change):