Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
speedup maxtime test
  • Loading branch information
pstorz committed Apr 20, 2017
1 parent 5ac9e0b commit 178911e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions scripts/bareos-dir.conf.maxruntime.in
Expand Up @@ -60,14 +60,14 @@ Job {
Name = "RUN_MAXWAITTIME"
JobDefs = DefaultJob
FileSet = FS_TESTJOB
MaxWaitTime = 2min
MaxWaitTime = 1min
}

Job {
Name = "RUN_MAXSTARTDELAY"
JobDefs = DefaultJob
FileSet = FS_TESTJOB
MaxStartDelay = 30sec
MaxStartDelay = 15sec
Pool = PoolA
Runbeforejob = "/bin/echo NEVER start this"
}
Expand All @@ -76,15 +76,15 @@ Job {
Name = "RUN_MAXRUNTIME"
JobDefs = DefaultJob
FileSet = FS_FIFO
MaxRunTime = 1min
Max Start Delay = 4 hours
MaxRunTime = 30 sec
Max Start Delay = 2 hours
Maximum Concurrent Jobs = 10
Spool Data = no
Reschedule On Error = yes
Reschedule Interval = 30sec
Reschedule Interval = 15sec
Reschedule Times = 2
Max Full Interval = 28 days
Full Max Run Time = 1min
Full Max Run Time = 30 sec
Cancel Queued Duplicates = no

}
Expand Down
6 changes: 3 additions & 3 deletions scripts/bareos-dir.conf.maxtime.in
Expand Up @@ -60,14 +60,14 @@ Job {
Name = "RUN_MAXWAITTIME"
JobDefs = DefaultJob
FileSet = FS_TESTJOB
MaxWaitTime = 2min
MaxWaitTime = 1min
}

Job {
Name = "RUN_MAXSTARTDELAY"
JobDefs = DefaultJob
FileSet = FS_TESTJOB
MaxStartDelay = 30sec
MaxStartDelay = 15sec
Pool = PoolA
Runbeforejob = "/bin/echo NEVER start this"
}
Expand All @@ -76,7 +76,7 @@ Job {
Name = "RUN_MAXRUNTIME"
JobDefs = DefaultJob
FileSet = FS_FIFO
MaxRunTime = 1min
MaxRunTime = 30 sec
}

# Client (File Services) to backup
Expand Down
2 changes: 1 addition & 1 deletion tests/maxtime-test
Expand Up @@ -32,7 +32,7 @@ run job=RUN_MAXSTARTDELAY comment="Should fail" pool=PoolA when="$WHEN" yes
@sleep 2
@# storage is used by the first MAXWAITTIME, but should work
run job=RUN_MAXWAITTIME comment="Should work" pool=PoolA yes
@sleep 60
@sleep 30
label volume=TestVolume002 pool=Default
mount
@sleep 2
Expand Down

0 comments on commit 178911e

Please sign in to comment.