We had some problems with job arrays being submitted to multiple partitions so I would like a test added for this functionality. You should be able to re-use some existing logic from test3.5 (create and delete new partition) and 28.1 (submit job array). Here is the sequence to test. 1. Create a new partition with the same nodes as the default partition 2. Submit job array to both the default partition and new partition 3. Verify the job array runs (two elements in the array is sufficient) 4. Delete the new partition
Created attachment 445 [details] Test28.6 test that the job arrays will run on multiple partitions
Created attachment 448 [details] Found errors in earlier patch, but this is test28.6 that test job arrays on mutliple partitions
Changes noted below already made: Please remember to submit test jobs with a time limit so they get cleaned up in a timely fashion. Please use tabs for indentation in both C and Expect. I changed some logic to use the global functions. What I really wanted tested is a single job submited to two partitions at the same time, it will run in one of them (e.g. sbatch --partition=foo,bar ...").