A platform for community discussion. Free, open, simple.
DEV: Remove logging when redis is terminated
Daniel Waterworthfeda7e1ddfa2
diff --git a/config/boot.rb b/config/boot.rbindex f2197088fa3..ae2ee5b2fab 100644--- a/config/boot.rb+++ b/config/boot.rb@@ -49,5 +49,8 @@ if ENV['RAILS_ENV'] == "test" && ENV['TEST_ENV_NUMBER']ENV["DISCOURSE_REDIS_PORT"] = port.to_sENV["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+ endend