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

The use of expected RuntimeExceptions in the TCK can cause false positives #620

Closed
benjamin-confino opened this issue Nov 13, 2023 · 0 comments · Fixed by #619
Closed

The use of expected RuntimeExceptions in the TCK can cause false positives #620

benjamin-confino opened this issue Nov 13, 2023 · 0 comments · Fixed by #619

Comments

@benjamin-confino
Copy link
Contributor

In our build system I noticed some tests failing with a RuntimeException. This is concerning because if our build system creates unwanted runtime exceptions it might create them inside the try blocks where a RuntimeException is expected.

To fix this all expected RuntimeExceptions should be replaced with TestException.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant