Skip to content

test: fix e2e - #447

Closed
miparnisari wants to merge 2 commits into
mainfrom
fix-e2e
Closed

test: fix e2e#447
miparnisari wants to merge 2 commits into
mainfrom
fix-e2e

Conversation

@miparnisari

@miparnisari miparnisari commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Fix the cluster-state dump that runs when an e2e spec fails.

SnapshotFailHandler listed jobs under core/v1, which doesn't exist, so every dump logged "the server could not find the requested resource". SaveClusterState then fell through and ranged over the nil list, faulting inside the failure handler. Ginkgo recorded the fault's stack location (e2e_test.go:469 or runtime/signal_unix.go) instead of the real failing assertion, and the dump never completed.

Comment thread e2e/e2e_test.go
v1alpha1ClusterGVR,
corev1.SchemeGroupVersion.WithResource("pods"),
corev1.SchemeGroupVersion.WithResource("jobs"),
batchv1.SchemeGroupVersion.WithResource("jobs"),

@miparnisari miparnisari Sep 1, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

alecmerdler
alecmerdler previously approved these changes Sep 2, 2026
@miparnisari
miparnisari added this pull request to the merge queue Sep 2, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 2, 2026
@miparnisari
miparnisari added this pull request to the merge queue Sep 2, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 2, 2026
@tstirrat15

Copy link
Copy Markdown
Contributor

These changes are also in #446

@miparnisari miparnisari closed this Sep 3, 2026
auto-merge was automatically disabled September 3, 2026 00:16

Pull request was closed

@github-actions github-actions Bot locked and limited conversation to collaborators Sep 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants