Merge "Added retries for db_sync" into stable/pike

This commit is contained in:
Zuul 2018-03-16 23:07:18 +00:00 committed by Gerrit Code Review
commit 087d9e9a9c
4 changed files with 12 additions and 0 deletions

View File

@ -19,6 +19,8 @@ class watcher::db::create_schema(
path => '/usr/bin',
user => 'watcher',
refreshonly => true,
try_sleep => 5,
tries => 10,
logoutput => on_failure,
subscribe => [
Anchor['watcher::install::end'],

View File

@ -20,6 +20,8 @@ class watcher::db::upgrade(
path => '/usr/bin',
user => 'watcher',
refreshonly => true,
try_sleep => 5,
tries => 10,
logoutput => on_failure,
subscribe => [
Anchor['watcher::install::end'],

View File

@ -10,6 +10,8 @@ describe 'watcher::db::create_schema' do
:path => '/usr/bin',
:user => 'watcher',
:refreshonly => 'true',
:try_sleep => 5,
:tries => 10,
:logoutput => 'on_failure',
:subscribe => [
'Anchor[watcher::install::end]',
@ -33,6 +35,8 @@ describe 'watcher::db::create_schema' do
:path => '/usr/bin',
:user => 'watcher',
:refreshonly => 'true',
:try_sleep => 5,
:tries => 10,
:logoutput => 'on_failure',
:subscribe => [
'Anchor[watcher::install::end]',

View File

@ -10,6 +10,8 @@ describe 'watcher::db::upgrade' do
:path => '/usr/bin',
:user => 'watcher',
:refreshonly => 'true',
:try_sleep => 5,
:tries => 10,
:logoutput => 'on_failure',
:subscribe => [
'Anchor[watcher::install::end]',
@ -34,6 +36,8 @@ describe 'watcher::db::upgrade' do
:path => '/usr/bin',
:user => 'watcher',
:refreshonly => 'true',
:try_sleep => 5,
:tries => 10,
:logoutput => 'on_failure',
:subscribe => [
'Anchor[watcher::install::end]',