Skip to content

Delete namespaces on test completion - #904

Merged
Benjamin Elder (BenTheElder) merged 1 commit into
agent-substrate:mainfrom
sfunkenhauser:e2e_test_failures
Aug 12, 2026
Merged

Delete namespaces on test completion#904
Benjamin Elder (BenTheElder) merged 1 commit into
agent-substrate:mainfrom
sfunkenhauser:e2e_test_failures

Conversation

@sfunkenhauser

Copy link
Copy Markdown
Collaborator

E2E test WorkerPools (and thus pods) weren't cleaned up until all tests were finished running. This resulted in resource exhaustion and pods not being scheduled. If a test completes successfully delete the namespace immediately.

  • [ x ] Tests pass
  • [ x ] Appropriate changes to documentation are included in the PR

Comment thread internal/e2e/namespace.go
}

// Release the namespace as soon as this test is done rather than at the end of
// the run. A suite's namespaces each carry a WorkerPool, and its worker pods

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

We also might need to revisit that, or seriously downsize them or ...

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

thanks! this should help with flakiness, cc Eitan Yarmush (@EItanya)

@BenTheElder
Benjamin Elder (BenTheElder) merged commit 19fc57b into agent-substrate:main Aug 12, 2026
11 of 15 checks passed
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.

2 participants