Skip to content

fix current main build failure#1473

Merged
ryanjbaxter merged 1 commit intospring-cloud:3.0.xfrom
wind57:fix-failing-test
Oct 7, 2023
Merged

fix current main build failure#1473
ryanjbaxter merged 1 commit intospring-cloud:3.0.xfrom
wind57:fix-failing-test

Conversation

@wind57
Copy link
Copy Markdown
Contributor

@wind57 wind57 commented Oct 7, 2023

No description provided.


@AfterAll
static void afterAll() throws Exception {
util.deleteNamespace("istio-system");
Copy link
Copy Markdown
Contributor Author

@wind57 wind57 Oct 7, 2023

Choose a reason for hiding this comment

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

this is needed to fix failures in the main branch, what happens there is:

  • Fabric8IstioIT runs, does not clean after itself, leaves a service running in istio-system namespace
  • KubernetesClientDiscoveryClientIT runs after it, and searches for services in all namespaces. It expects to find only services defined in its set-up, but also find the one from the previous integration test and fails the assertions.

We did not had until now such a distribution in integration tests so that we could catch this. This is a bug

@wind57 wind57 changed the title fix fix current main build failure Oct 7, 2023
@wind57 wind57 marked this pull request as ready for review October 7, 2023 08:08
@wind57
Copy link
Copy Markdown
Contributor Author

wind57 commented Oct 7, 2023

@ryanjbaxter this fixes our current main failure

@ryanjbaxter ryanjbaxter added this to the 3.0.6 milestone Oct 7, 2023
@ryanjbaxter ryanjbaxter merged commit aeea8cc into spring-cloud:3.0.x Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants