-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Ensure integration tests runs with Puma #1874
Comments
So the reason for the change over at https://github.com/sinatra/sinatra/pull/1858/files/a8ec48da5861970a8dc97706d511093a00417ca7#diff-cb4a09a087ed85c2331c53261acfe2b38823d8acbdcaae0d0ec8cc7d499d04e9 (which is incorrect, should have been
It happens because sinatra/test/integration_test.rb Line 50 in 72e5b33
when the async test runs
It is empty for rainbows too, but as seen above, the assertion isn't run for rainbows. However, that conditional makes it so the assertions isn't run for rainbows for the regular integration tests as well, so I don't like the idea of adding such conditional for puma. |
The reason for the log being empty seems to be this
(the above output came from logging the sinatra/sinatra-contrib/lib/sinatra/runner.rb Lines 91 to 96 in 72e5b33
|
No problem when running only async tests ( |
Or only Running |
So the regular integration tests starts all servers before running the tests: sinatra/test/integration_helper.rb Lines 128 to 143 in f10e571
but for the async tests, the servers are started much later, during sinatra/test/integration_helper.rb Lines 107 to 117 in f10e571
|
Originally posted by @epergo in #1858 (comment)
The text was updated successfully, but these errors were encountered: