-
-
Notifications
You must be signed in to change notification settings - Fork 12
wundergraph_cli's print_schema::tests::round_trip test fails #50
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
Comments
Blind guess: It's caused by a to small sleep here (As this test passes with the CI) |
It's much more weird.
|
So what this test does is basically creating and compiling a complete wundergraph example project. Then it "waits" for the project to be started and issues a few test requests to this server. All of that is done by creating a new cargo project in a temporary directory and executing the code there via (I think the process is not killed because I detached the process here and it is then explicitly killed here. Maybe that should be done via some drop guard 🤔 ) |
I guess all assertions and unwraps have potential risk. Wouldn't it be good to run a part of
|
Yes that should probably be done, but that will not fix your issue (only terminate the zombie processes) |
This approach ensures the test reachs killing of client's thread. This commit aims to solve issue weiznich#50
Either besides client termination there is an other issue with
|
Closed by #53 |
I've faced the issue by working on #48, but got it even by testing master branch based on 6c8cb7b
The text was updated successfully, but these errors were encountered: