Fix spec test for sync

Change-Id: I853120effd734f567ccd35a215a50e364cda5905
This commit is contained in:
ZhongShengping 2016-12-01 16:52:44 +08:00
parent ede4e733ac
commit 1632578e69

View File

@ -10,7 +10,13 @@ describe 'ironic::db::sync' do
:path => '/usr/bin', :path => '/usr/bin',
:user => 'root', :user => 'root',
:refreshonly => 'true', :refreshonly => 'true',
:logoutput => 'on_failure' :try_sleep => 5,
:tries => 10,
:logoutput => 'on_failure',
:subscribe => ['Anchor[ironic::install::end]',
'Anchor[ironic::config::end]',
'Anchor[ironic::dbsync::begin]'],
:notify => 'Anchor[ironic::dbsync::end]',
) )
end end
@ -25,7 +31,13 @@ describe 'ironic::db::sync' do
:path => '/usr/bin', :path => '/usr/bin',
:user => 'root', :user => 'root',
:refreshonly => true, :refreshonly => true,
:logoutput => 'on_failure' :try_sleep => 5,
:tries => 10,
:logoutput => 'on_failure',
:subscribe => ['Anchor[ironic::install::end]',
'Anchor[ironic::config::end]',
'Anchor[ironic::dbsync::begin]'],
:notify => 'Anchor[ironic::dbsync::end]',
) )
} }
end end