| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
@csviri I wasn't sure if you mean after all tests or after test class, so I did a after a test class first, but I can move it to after testsuite. |
Sorry, something went wrong.
There was a problem hiding this comment.
This PR fixes issue #2928 by deferring CRD (Custom Resource Definition) deletion from after each test method to after all tests in a class have completed. Previously, CRDs were deleted after each test, causing issues when a deleted CRD remained in a "deleting" state and caused subsequent tests to fail.
Changes:
Sorry, something went wrong.
Signed-off-by: xstefank <xstefank122@gmail.com>
Signed-off-by: xstefank <xstefank122@gmail.com>
Signed-off-by: xstefank <xstefank122@gmail.com>
|
@csviri this is ready for review |
Sorry, something went wrong.
|
thx @xstefank , will take a look tomorrow; but was thinking if we should target next branch, since it is change in the behavior (not super important though) |
Sorry, something went wrong.
There was a problem hiding this comment.
nice! LGTM
Sorry, something went wrong.
| @Override | ||
| public void close() { | ||
| // Create a fresh client for cleanup since operator clients may already be closed. | ||
| try (var client = new KubernetesClientBuilder().build()) { |
There was a problem hiding this comment.
Isn't it the role of the infrastructure client to perform these operations?
Sorry, something went wrong.
There was a problem hiding this comment.
no, because this method runs after @After method that closes the infrastructure client.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes #2928