Moved to system() for avoid broken pipe issues.

This commit is contained in:
Martin Edenhofer 2016-05-27 11:45:48 +02:00
parent 249caa122a
commit c4167663fd
2 changed files with 4 additions and 4 deletions

View file

@ -4,7 +4,7 @@ class Observer::AppVersionRestartJob
end
def perform
output = `#{@cmd}`
Rails.logger.info "CMD: #{@cmd} -> #{output}"
system(@cmd)
Rails.logger.info "execute CMD: #{@cmd}"
end
end

View file

@ -72,7 +72,7 @@ class AdminObjectManagerTest < TestCase
)
watch_for_disappear(
css: '.modal',
timeout: 26,
timeout: 120,
)
sleep 5
watch_for(
@ -137,7 +137,7 @@ class AdminObjectManagerTest < TestCase
)
watch_for_disappear(
css: '.modal',
timeout: 26,
timeout: 120,
)
sleep 5
watch_for(