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

TCK tests logging "Static configuration methods can cause unexpected behavior." #664

Open
MikeEdgar opened this issue Oct 15, 2024 · 0 comments
Labels

Comments

@MikeEdgar
Copy link
Member

At the start of the TCK run, we see multiple occurrences of the following warning [1]. We should consider making the @BeforeClass method non-static (for a micro release) or looking into another approach like suggested in testng-team/testng#2554 (for the next minor release).

[2024-10-15 15:15:24] [WARN   ] org.testng.log4testng.Logger warn Detected a static method [org.eclipse.microprofile.openapi.tck.AppTestBase.configureRestAssured()]. Static configuration methods can cause unexpected behavior.

[1] https://github.com/smallrye/smallrye-open-api/actions/runs/11349084528/job/31564363806?pr=2017#step:7:53

@MikeEdgar MikeEdgar added the tck label Oct 15, 2024
@MikeEdgar MikeEdgar added this to the MP OpenAPI 4.1 milestone Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant