]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
regress: Expose Storage Manager selection issue with Pool
authorEric Bollengier <eric@baculasystems.com>
Fri, 25 Aug 2023 09:34:42 +0000 (11:34 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:57:02 +0000 (13:57 +0200)
regress/tests/store-mngr-leastused-test

index b4d8eff1fa0707081511d2696c056b9e08e89d10..232645f57798bc1af5dfc83a25c85a7c61e5bf36 100755 (executable)
@@ -51,6 +51,17 @@ Job {
   FileSet = "Full Set"
   ClientRunBeforeJob = "sleep 3"
 }
+Job {
+  Name = "StoreGroupJob2"
+  Type = Backup
+  Client = $HOST-fd
+  Messages = Standard
+  Storage = vDisk1, vDisk2, vDisk3
+  Storage Group Policy = FreeSpace
+  Pool = Default
+  FileSet = "Full Set"
+  ClientRunBeforeJob = "sleep 3"
+}
 Job {
   Name = "ByPool"
   Type = Backup
@@ -132,7 +143,7 @@ wait
 messages
 @$out  ${cwd}/tmp/log4.out
 setdebug level=200 trace=1 dir
-run job=StoreGroupJob pool=LeastUsed level=Full yes
+run job=StoreGroupJob2 pool=LeastUsed level=Full yes
 run job=ByPool level=Full yes
 run job=ByPool2 level=Full yes
 wait