-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Integration test failing #177
Comments
I can reproduce this consistently by running while True:
with run_gunicorn():
... and waiting a bit. It seems like
snekbox/tests/gunicorn_utils.py Line 80 in 9804a10
Adding a I also tried If we do want a timeout (to raise an error if it hangs while trying to terminate) I'm not sure of a good way of implementing it. A couple of somewhat hacky ideas of waiting for the process to exit with a timeout:
|
Thank you for investigating this. We should have a timeout to prevent the test from running forever. What will happen if it times out and we do not raise an error (because we cannot determine whether it timed out)? Will it then fail with the original error described by this issue? |
I've looked into it a bit more and tried a few things. For each test i just ran while True:
with run_gunicorn():
pass Test 1 - just
|
Integration test failed in the job that run when #173 was merged to main. We may not be cleaning up test resources properly.
From the logs:
The text was updated successfully, but these errors were encountered: