Skip to content

Commit 2dcce79

Browse files
committed
fixup! test(e2e): fix debug mode test timing and add PVC cleanup
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
1 parent c37f95c commit 2dcce79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/pkg/tests/devworkspace_debug_poststart_tests.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ var _ = ginkgo.Describe("[DevWorkspace Debug Start Mode]", func() {
2727

2828
const workspaceName = "code-latest-with-debug-start"
2929

30-
ginkgo.AfterEach(func() {
30+
ginkgo.AfterAll(func() {
3131
// Clean up workspace and wait for PVC to be fully deleted
3232
// This prevents PVC conflicts in subsequent tests, especially in CI environments
3333
_ = config.DevK8sClient.DeleteDevWorkspaceAndWait(workspaceName, config.DevWorkspaceNamespace)

0 commit comments

Comments
 (0)