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

Ignore tests that fail due to resource differences #824

Merged
merged 1 commit into from Nov 10, 2023

Conversation

johnjaylward
Copy link
Contributor

@johnjaylward johnjaylward commented Nov 6, 2023

What problem does this code solve?

Fixes #821

Add ignore annotation to tests that may fail due to differences in machine resources and can't be controlled via the test framework

Does the code still compile with Java6?

Yes

Risks

Small. If a change is made to the parser, it's possible that the test case that this is trying to solve for may break.

Changes to the API?

No

Will this require a new release?

No

Should the documentation be updated?

Does it break the unit tests?

No, it disables 2 tests that were expecting Stack Overflow errors, but would sometimes not trigger due to systems having differing resources available. The 2 tests were left intact, just marked with the @Ignore annotation.

Was any code refactored in this commit?

No.

Review status

APPROVED

add ignore annotation to tests that may fail due to differences in machine resources and can't be controlled via the tests
@stleary
Copy link
Owner

stleary commented Nov 7, 2023

Starting 3-day comment window

@stleary stleary merged commit 11c29c3 into stleary:master Nov 10, 2023
7 checks passed
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

Successfully merging this pull request may close these issues.

Flaky test fails intermittently in GitHub Action
2 participants