Fix unit test for sync

Change-Id: I52108da38ba34d48bf4c4f3486eb883ee32786a4
This commit is contained in:
ZhongShengping 2018-03-16 11:37:15 +08:00
parent f5078648ea
commit 5e9e1713e8

View File

@ -14,6 +14,10 @@ describe 'mistral::db::sync' do
:try_sleep => 5,
:tries => 10,
:logoutput => 'on_failure',
:subscribe => ['Anchor[mistral::install::end]',
'Anchor[mistral::config::end]',
'Anchor[mistral::dbsync::begin]'],
:notify => 'Anchor[mistral::dbsync::end]',
:tag => 'openstack-db',
)
@ -23,6 +27,10 @@ describe 'mistral::db::sync' do
:user => 'mistral',
:refreshonly => 'true',
:logoutput => 'on_failure',
:subscribe => ['Anchor[mistral::install::end]',
'Anchor[mistral::config::end]',
'Anchor[mistral::dbsync::begin]'],
:notify => 'Anchor[mistral::dbsync::end]',
:tag => 'openstack-db',
)