From f6b44e38964c6b47d1c16f427b358f6ff1b16449 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 1 Nov 2009 15:33:26 +0100 Subject: [PATCH] Stop regression tests after 30 minutes --- regress/scripts/bacula-dir-2d.conf.in | 2 ++ regress/scripts/bacula-dir-tape.conf.in | 6 ++++++ regress/scripts/new-test-bacula-dir.conf.in | 11 +++++++++++ regress/scripts/test-bacula-dir.conf.in | 8 ++++++++ regress/scripts/testa-bacula-dir.conf.in | 3 +++ 5 files changed, 30 insertions(+) diff --git a/regress/scripts/bacula-dir-2d.conf.in b/regress/scripts/bacula-dir-2d.conf.in index 6ca86448b1..5177704370 100644 --- a/regress/scripts/bacula-dir-2d.conf.in +++ b/regress/scripts/bacula-dir-2d.conf.in @@ -37,6 +37,7 @@ Job { Maximum Concurrent Jobs = 4 SpoolData = yes # Prefer Mounted Volumes = no + Max Run Time = 30min } # Standard Restore template, to be changed by Console program @@ -49,6 +50,7 @@ Job { Messages = Standard Pool = Default Where = @tmpdir@/bacula-restores + Max Run Time = 30min } diff --git a/regress/scripts/bacula-dir-tape.conf.in b/regress/scripts/bacula-dir-tape.conf.in index 5e00893ba7..24229a6d6c 100644 --- a/regress/scripts/bacula-dir-tape.conf.in +++ b/regress/scripts/bacula-dir-tape.conf.in @@ -39,6 +39,7 @@ Job { Maximum Concurrent Jobs = 100 SpoolData = yes # Prefer Mounted Volumes = no + Max Run Time = 30min } @@ -55,6 +56,7 @@ Job { SpoolData = yes # Prefer Mounted Volumes = no Client Run Before Job = "/bin/sleep 10" + Max Run Time = 30min } Job { @@ -69,6 +71,7 @@ Job { Maximum Concurrent Jobs = 100 SpoolData = yes # Prefer Mounted Volumes = no + Max Run Time = 30min } Job { @@ -84,6 +87,7 @@ Job { Maximum Concurrent Jobs = 100 SpoolData = yes # Prefer Mounted Volumes = no + Max Run Time = 30min } Job { @@ -98,6 +102,7 @@ Job { Maximum Concurrent Jobs = 100 SpoolData = yes # Prefer Mounted Volumes = no + Max Run Time = 30min } @@ -112,6 +117,7 @@ Job { Messages = Standard Pool = Default Where = @tmpdir@/bacula-restores + Max Run Time = 30min } diff --git a/regress/scripts/new-test-bacula-dir.conf.in b/regress/scripts/new-test-bacula-dir.conf.in index 3fe97c7d68..7195f3bdbf 100644 --- a/regress/scripts/new-test-bacula-dir.conf.in +++ b/regress/scripts/new-test-bacula-dir.conf.in @@ -39,6 +39,7 @@ Job { Write Bootstrap = "@working_dir@/NightlySave.bsr" Maximum Concurrent Jobs = 4 SpoolData=yes + Max Run Time = 30min } Job { @@ -50,6 +51,7 @@ Job { Messages = Standard Pool = Default Write Bootstrap = "@working_dir@/NightlySave.bsr" + Max Run Time = 30min } Job { @@ -62,6 +64,7 @@ Job { Pool = Default Maximum Concurrent Jobs = 4 Write Bootstrap = "@working_dir@/NightlySave.bsr" + Max Run Time = 30min } @@ -76,6 +79,7 @@ Job { Messages = Standard Pool = Default Write Bootstrap = "@working_dir@/NightlySave.bsr" + Max Run Time = 30min } @@ -88,6 +92,7 @@ Job { Messages = Standard Pool = Default Write Bootstrap = "@working_dir@/NightlySave.bsr" + Max Run Time = 30min } Job { @@ -100,6 +105,7 @@ Job { Pool = Default Maximum Concurrent Jobs = 4 Write Bootstrap = "@working_dir@/NightlySave.bsr" + Max Run Time = 30min } Job { @@ -111,6 +117,7 @@ Job { Messages = Standard Pool = Default Write Bootstrap = "@working_dir@/NightlySave.bsr" + Max Run Time = 30min } Job { @@ -123,6 +130,7 @@ Job { Pool = Default Write Bootstrap = "@working_dir@/NightlySave.bsr" ClientRunBeforeJob = "/bin/sleep 5" + Max Run Time = 30min } @@ -142,6 +150,7 @@ Job { # This deletes the copy of the catalog RunAfterJob = "@sbindir@/delete_catalog_backup" Write Bootstrap = "@working_dir@/BackupCatalog.bsr" + Max Run Time = 30min } JobDefs { @@ -151,6 +160,7 @@ JobDefs { Storage = File Messages = Standard Priority = 10 + Max Run Time = 30min } Job { @@ -181,6 +191,7 @@ Job { Messages = Standard Pool = Default Where = @tmpdir@/bacula-restores + Max Run Time = 30min } diff --git a/regress/scripts/test-bacula-dir.conf.in b/regress/scripts/test-bacula-dir.conf.in index 531deb963f..9718e07964 100644 --- a/regress/scripts/test-bacula-dir.conf.in +++ b/regress/scripts/test-bacula-dir.conf.in @@ -38,6 +38,7 @@ Job { Write Bootstrap = "@working_dir@/NightlySave.bsr" Maximum Concurrent Jobs = 4 SpoolData=yes + Max Run Time = 30min } Job { @@ -49,6 +50,7 @@ Job { Messages = Standard Pool = Default Write Bootstrap = "@working_dir@/NightlySave.bsr" + Max Run Time = 30min } @@ -62,6 +64,7 @@ Job { Messages = Standard Pool = Default Write Bootstrap = "@working_dir@/NightlySave.bsr" + Max Run Time = 30min } @@ -74,6 +77,7 @@ Job { Messages = Standard Pool = Default Write Bootstrap = "@working_dir@/NightlySave.bsr" + Max Run Time = 30min } Job { @@ -86,6 +90,7 @@ Job { Pool = Default Maximum Concurrent Jobs = 4 Write Bootstrap = "@working_dir@/NightlySave.bsr" + Max Run Time = 30min # Max Run Time = 15 seconds } @@ -98,6 +103,7 @@ Job { Messages = Standard Pool = Default Write Bootstrap = "@working_dir@/NightlySave.bsr" + Max Run Time = 30min } @@ -116,6 +122,7 @@ Job { # This deletes the copy of the catalog RunAfterJob = "@sbindir@/delete_catalog_backup" Write Bootstrap = "@working_dir@/BackupCatalog.bsr" + Max Run Time = 30min } # Standard Restore template, to be changed by Console program @@ -128,6 +135,7 @@ Job { Messages = Standard Pool = Default Where = @tmpdir@/bacula-restores + Max Run Time = 30min } diff --git a/regress/scripts/testa-bacula-dir.conf.in b/regress/scripts/testa-bacula-dir.conf.in index 84f1a4420d..09f10a9b23 100644 --- a/regress/scripts/testa-bacula-dir.conf.in +++ b/regress/scripts/testa-bacula-dir.conf.in @@ -28,6 +28,7 @@ Job { Write Bootstrap = "@working_dir@/SmallVols.bsr" Pool = SmallVols SpoolData = yes + Max Run Time = 30min } @@ -41,6 +42,7 @@ Job { Messages = Standard Pool = Default Write Bootstrap = "@working_dir@/NightlySave.bsr" + Max Run Time = 30min } @@ -55,6 +57,7 @@ Job { Messages = Standard Pool = Default Where = @tmpdir@/bacula-restores + Max Run Time = 30min } -- 2.39.5