mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Update test to avoid Puma output format change
We are seeing some test failures for this test in #37291. It looks like what's going on is that Puma has changed the output for this command between 4.1 and 4.2 Previously: ``` ... * Environment: development * Listening on tcp://localhost:3000 ... ``` Now: ``` ... * Environment: development * Listening on tcp://127.0.0.1:3000 * Listening on tcp://[::1]:3000 ... ``` So to get around this, instead of checking the binding address, just check for the presence of 'Listening' generally like we do on server start. Co-authored-by: eileencodes <eileencodes@gmail.com>
This commit is contained in:
parent
d30579e12b
commit
4e66e2dffc
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ module ApplicationTests
|
|||
rails("restart")
|
||||
|
||||
assert_output("Restarting", primary)
|
||||
assert_output("tcp://localhost:3000", primary)
|
||||
assert_output("Listening", primary)
|
||||
ensure
|
||||
kill(pid) if pid
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue