From 3912625546a2cc661b7ebf324c2644d77bde473e Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sat, 27 May 2006 18:44:53 +0000 Subject: [PATCH] update scratch pool test git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3036 91ce42f0-d328-0410-95d8-f526ca767f89 --- regress/tests/scratch-pool-test | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/regress/tests/scratch-pool-test b/regress/tests/scratch-pool-test index 813f007957..a8b6affd44 100755 --- a/regress/tests/scratch-pool-test +++ b/regress/tests/scratch-pool-test @@ -6,6 +6,8 @@ # the next tape. One minor wrinkle: we create the two tapes # in the Scratch pool, so they should be switched to the Default # Pool automatically. +# We set TestVolume001 to not in the changer, so the algorithm +# should find TestVolume002 and use it rather than blocking. # # Note we use the viritual disk autochanger # @@ -44,10 +46,11 @@ messages @$out tmp/log1.out label storage=DDS-4 volume=TestVolume001 slot=1 pool=Scratch drive=0 label storage=DDS-4 volume=TestVolume002 slot=2 pool=Scratch drive=0 -update Volume=TestVolume001 MaxVolBytes=3000000 pool=Scratch drive=0 +update Volume=TestVolume001 MaxVolBytes=2000000 pool=Scratch drive=0 update Volume=TestVolume001 inchanger=no pool=Scratch drive=0 @#setdebug level=200 storage=DDS-4 llist volume=TestVolume001 +llist volume=TestVolume002 run job=NightlySave yes wait messages -- 2.39.5