Fix spec tset for sync

Change-Id: I0220a0db13923fe7fb573ec388fe9735f71b316e
This commit is contained in:
ZhongShengping 2016-12-01 16:27:42 +08:00
parent 866cd4e99d
commit 634b182f55
1 changed files with 14 additions and 2 deletions

View File

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