Moved to system() for avoid broken pipe issues.
This commit is contained in:
parent
249caa122a
commit
c4167663fd
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue