Skip to content

Preserve the final state at the end of the e2e test in kind#390

Merged
waltforme merged 1 commit intollm-d-incubation:mainfrom
waltforme:e2e
Mar 27, 2026
Merged

Preserve the final state at the end of the e2e test in kind#390
waltforme merged 1 commit intollm-d-incubation:mainfrom
waltforme:e2e

Conversation

@waltforme
Copy link
Copy Markdown
Collaborator

This is helpful to examine the e2e test itself.

Signed-off-by: Jun Duan <jun.duan.phd@outlook.com>
Copilot AI review requested due to automatic review settings March 26, 2026 18:44
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adjusts the launcher-based kind E2E script to keep the created Kubernetes resources around at the end of a successful run, making it easier to inspect the cluster state and debug the test behavior.

Changes:

  • Replace end-of-test deletion of test resources (ReplicaSet and CRs) with scaling the requester ReplicaSet to zero.
  • Keep the remaining test CRs in the cluster for post-run inspection while still verifying requester pods are gone.

@@ -459,11 +459,7 @@ cheer Successful unbound launcher deletion cleanup

: Clean up launcher-based workloads
Copy link

Copilot AI Mar 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The section header says “Clean up launcher-based workloads”, but the new behavior intentionally preserves most resources (only scaling the ReplicaSet down). Consider updating the header/comment to reflect that this is now a “scale down / preserve state for inspection” step so future readers don’t assume the test fully cleans up.

Suggested change
: Clean up launcher-based workloads
: Scale down launcher-based workloads (preserve resources for inspection)

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Collaborator

@aavarghese aavarghese left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for helping with bug investigation.

@waltforme waltforme merged commit 5333917 into llm-d-incubation:main Mar 27, 2026
28 checks passed
@waltforme waltforme deleted the e2e branch March 27, 2026 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants