DEV: Remove logging when redis is terminated

This hasn't proved useful, just noisy.
This commit is contained in:
Daniel Waterworth 2019-06-21 10:30:51 +01:00
parent 1cbe2dd2ce
commit feda7e1ddf

View File

@ -49,5 +49,8 @@ if ENV['RAILS_ENV'] == "test" && ENV['TEST_ENV_NUMBER']
ENV["DISCOURSE_REDIS_PORT"] = port.to_s
ENV["RAILS_DB"] = "discourse_test_#{n}"
at_exit { STDERR.puts "Terminating redis #{n}"; Process.kill("SIGTERM", pid); Process.wait }
at_exit do
Process.kill("SIGTERM", pid)
Process.wait
end
end