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

DBZ-7104 Fail the test always in the main thread #164

Merged
merged 2 commits into from
Nov 2, 2023

Conversation

vjuranek
Copy link
Member

@vjuranek vjuranek commented Nov 2, 2023

Failing test in a different thread doesn't work reliably as JUnit may ignore exceptions (which is how failing test works) in other than main thread.

Do the assert and eventually fail the test in the main test thread.

https://issues.redhat.com/browse/DBZ-7104

vjuranek and others added 2 commits November 2, 2023 12:21
Failing test in a different thread doesn't work reliably as JUnit may
ignore exceptions (which is how failing test works) in other than main
thread.

Do the assert and eventually fail the test in the main test thread.
@jpechane jpechane merged commit 5c3a47c into debezium:main Nov 2, 2023
3 checks passed
@jpechane
Copy link
Contributor

jpechane commented Nov 2, 2023

@vjuranek Applied, thanks

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.

2 participants