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

Fixed unhandled exceptions crashing the entire test suite. #1455

Merged

Conversation

Dimi1010
Copy link
Collaborator

@Dimi1010 Dimi1010 commented Jun 19, 2024

This PR wraps the individual tests into a try-catch block and automatically fails the test if an exception is propagated out of the test function. The previous implementation crashed the entire test suite without providing meaningful information.

… occurs during the test instead of crashing the whole test program.
@tigercosmos tigercosmos merged commit 6ee2639 into seladb:dev Jun 20, 2024
39 checks passed
@Dimi1010 Dimi1010 deleted the fix/unhandled-exceptions-crash-testing branch June 20, 2024 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants