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
TestCLI and TestIntegration need a ground-up rethink #1841
Comments
I looked quickly for builds right after the change to Ruby >= 2.5 was reverted, and (for instance) Travis Build 3471 2019-06-14 seems fine. So it's not that bad... A lot of the odd tests (exceptions, etc) seem to involve |
Needed a break from my Ruby/JS mess. Travis 3517 is ok, |
Being a windows type, I can't run/test a lot of Puma functionality without fork & unix sockets. I also don't have a cloud server available to test on. Hence, I'm probably totally wrong. It seems there are issues both before and after #1829. Looking at Lines 51 to 60 in 1814008
and after: Lines 51 to 62 in 13567c9
Maybe I've got it all wrong, but it seems to me that truly closing Puma should unlink everything in Also, from throwing some things at Travis, it seems that Binder has no way to determine if it's a 'hard shutdown' or a restart (with a `graceful shutdown')? Lastly, re testing, I don't know if some of the UnixSockets are using temp files for every instance, or whether the same (temp) file should used in all tests, and hence, allowing tests to see if Puma is removing them when it should. Same may hold for tcp ports... I'm probably totally wrong... Have a good weekend... |
Integration tests are much improved, just the CLI tests need work now Sent with GitHawk |
Anything in particular? Are you thinking of starting Might be able to keep the code in the test methods by using something like test/helper.rb in #1952... |
These tests are failing/exceptioning like crazy even in CI (and still passing somehow? IDK!). We need a ground up rethink of these classes and how we test this stuff, because the globbed-on, piecemeal approach we've used over the years is falling apart.
The text was updated successfully, but these errors were encountered: