-
Notifications
You must be signed in to change notification settings - Fork 17
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
A hang core = app test does not show an output #119
Labels
bug
Something isn't working
Comments
This was referenced May 4, 2023
Totktonada
added a commit
that referenced
this issue
May 29, 2023
Totktonada
added a commit
that referenced
this issue
May 29, 2023
Totktonada
added a commit
that referenced
this issue
May 30, 2023
ylobankov
pushed a commit
that referenced
this issue
May 31, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We can simulate hang 'core = app' test like so:
When 'FLOOD' is set it produces much output to debug w/o paying attention to bufferization.
I tried it with the patch #110 applied. And the following patch applied at top of it:
TEST_RUN_TESTS=app-tap/tap.test.lua make test
does not show any output. ButFLOOD=1 TEST_RUN_TESTS=app-tap/tap.test.lua make test
does. So we have at least two problems:Popen.communicate()
does not give us output until a process exits (but please, note, the patch below brokes filters in FilteredStream).FilteredStream.__init__()
a test inherits a stdout file descriptior that bufferizes output (or smth like so).The text was updated successfully, but these errors were encountered: