Fix unit test for sync

Change-Id: I8d7180f6b40754cfb70b81c2dfa7b59384e8bb5a
This commit is contained in:
ZhongShengping 2018-03-16 11:13:11 +08:00
parent 88027005f4
commit 402b8e6845

View File

@ -9,8 +9,14 @@ describe '{{cookiecutter.project_name}}::db::sync' do
:command => '{{cookiecutter.project_name}}-manage db_sync ',
:path => [ '/bin', '/usr/bin', ],
:refreshonly => 'true',
:try_sleep => 5,
:tries => 10,
:user => '{{cookiecutter.project_name}}',
:logoutput => 'on_failure',
:subscribe => ['Anchor[{{cookiecutter.project_name}}::install::end]',
'Anchor[{{cookiecutter.project_name}}::config::end]',
'Anchor[{{cookiecutter.project_name}}::dbsync::begin]'],
:notify => 'Anchor[{{cookiecutter.project_name}}::dbsync::end]',
:tag => 'openstack-db',
)
end