Uh oh!
There was an error while loading. Please reload this page.
✨ Use a separate namespace for each e2e test - #1428
Conversation
✅ Deploy Preview for olmv1 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@## main #1428 +/- ##
=======================================
Coverage 73.26% 73.26% =======================================
Files 42 42 Lines 3063 3063 =======================================
Hits 2244 2244 Misses 644 644 Partials 175 175
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
tmshort
commented
Nov 6, 2024
I have encountered one failure over the course of several dozen; so this is not perfect, but it does reduce the likelyhood |
d940463 to
7b79aceCompareOf course, it failed e2e... but it failed because the bundle's CRDs were still present... not much we can do here except chase a timeout, which is never a good idea. This was the interesting condition on the CRDs: |
Fixesoperator-framework#1307 Create and use a new namespace for every e2e test. This means that extension resources are placed in their own namespace. The tests deletes the namespace, and then waits until completion. This ensures that _most_ of an extension's resources are deleted. It does guarantee that global resources (e.g. CRDs, CRs, CRBs) are deleted. And would eventually allow the tests to be run in parallel (assuming the installed extensions allow for that). Signed-off-by: Todd Short <tshort@redhat.com>
Fixes#1307 Create and use a new namespace for every e2e test. This means that extension resources are placed in their own namespace. The tests deletes the namespace, and then waits until completion. This ensures that _most_ of an extension's resources are deleted. It does guarantee that global resources (e.g. CRDs, CRs, CRBs) are deleted. And would eventually allow the tests to be run in parallel (assuming the installed extensions allow for that). Signed-off-by: Todd Short <tshort@redhat.com>
tmshort
commented
Nov 7, 2024
Managed to get this to run 35 times in a row without a failure... |
Fixes#1307
Create and use a new namespace for every e2e test. This means that extension resources are placed in their own namespace. The tests deletes the namespace, and then waits until completion. This ensures that most of an extension's resources are deleted.
It does guarantee that global resources (e.g. CRDs, CRs, CRBs) are deleted.
And would eventually allow the tests to be run in parallel (assuming the installed extensions allow for that).
Description
Reviewer Checklist