Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EmbeddedSpringBootKeycloakServerXApplicationTests fails in master branch #48

Open
jbellmann opened this issue Jun 26, 2021 · 0 comments

Comments

@jbellmann
Copy link

jbellmann commented Jun 26, 2021

While running a build on current master branch it was not successful. The EmbeddedSpringBootKeycloakServerXApplicationTests failed and broke the build.

Bildschirmfoto 2021-06-27 um 01 29 06

The fix for this issue could be

  • to move the failing test class into the same package as the Main.java file. com.github.thomasdarimont.keycloak --> com.github.thomasdarimont.keycloak.embedded.runner
  • or specify the Main.class explicitly in the @SpringBootTest annotation:
@SpringBootTest(
    webEnvironment = SpringBootTest.WebEnvironment.DEFINED_PORT,
    classes = Main.class
)

Also GitHub Actions is showing this.
A pipeline should be in place to make such kind of things more visible.
Have a look to your PRs.

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

No branches or pull requests

1 participant