Commit f9adc6a3 authored by Wandenberg Peixoto's avatar Wandenberg Peixoto

ignoring system command output

parent ad816423
...@@ -42,7 +42,7 @@ class TestSendSignals < Test::Unit::TestCase ...@@ -42,7 +42,7 @@ class TestSendSignals < Test::Unit::TestCase
pid = resp_1["by_worker"][0]['pid'].to_i pid = resp_1["by_worker"][0]['pid'].to_i
# send reload signal # send reload signal
`#{ nginx_executable } -c #{ config_filename } -s reload` `#{ nginx_executable } -c #{ config_filename } -s reload > /dev/null 2>&1`
# publish a message # publish a message
pub_2 = EventMachine::HttpRequest.new(nginx_address + '/pub?id=' + channel.to_s).post :head => headers, :body => body, :timeout => 30 pub_2 = EventMachine::HttpRequest.new(nginx_address + '/pub?id=' + channel.to_s).post :head => headers, :body => body, :timeout => 30
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment