Skip to content

Commit

Permalink
Merge 3b14d5f into fe3b8a8
Browse files Browse the repository at this point in the history
  • Loading branch information
towo committed Apr 14, 2019
2 parents fe3b8a8 + 3b14d5f commit fa21ade
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spec/spec_helper_acceptance.rb
Expand Up @@ -20,6 +20,11 @@
# Configure all nodes in nodeset
c.before :suite do
hosts.each do |host|
# Reduce the stop second timeout so we do not run into concurrency problems.
# The actual cause of the corosync refresh hasn't been found yet, but this seems like a doable workaround.
on host, 'mkdir /etc/systemd/system/pacemaker.service.d'
on host, 'echo -e "[Service]\nTimeoutStopSec=30s" > /etc/systemd/system/pacemaker.service.d/10-timeout-stop-sec.conf'

if host[:platform] =~ %r{el-7-x86_64} && host[:hypervisor] =~ %r{docker}
on(host, "sed -i '/nodocs/d' /etc/yum.conf")
end
Expand Down

0 comments on commit fa21ade

Please sign in to comment.