Skip to content

Conversation

@matshch
Copy link
Contributor

@matshch matshch commented Dec 11, 2025

Calling t.Fatal() only stops the current goroutine, but not the rest. The result is different depending on a test, but in the worst case scenario (like an error in the server part of a test) the client may hang waiting indefinitely for the response, and the test ends with a panic from the test timeout, without showing the real reason for the issue.

This PR makes errors during tests more obvious, showing problems with the test environment (e.g. missing /bin/fusermount or too restrictive sandbox).

Calling t.Fatal() only stops the current goroutine, but not the rest.
The result is different depending on a test, but in the worst case
scenario (like an error in the server part of a test) the client may
hang waiting indefinitely for the response, and the test ends with
a panic from the test timeout, without showing the real reason for
the issue.
Copy link
Owner

@folbricht folbricht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@folbricht folbricht merged commit 4d5caf9 into folbricht:master Dec 12, 2025
3 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.

2 participants