@@ -287,7 +287,7 @@ def test_torque(db, io_loop):
287
287
'req_epilogue' : 'EPILOGUE' ,
288
288
}
289
289
batch_script_re_list = [
290
- re .compile (r'^PROLOGUE.*^singleuser_command.*^EPILOGUE' , re .S | re .M ),
290
+ re .compile (r'^PROLOGUE.*^batchspawner-singleuser singleuser_command.*^EPILOGUE' , re .S | re .M ),
291
291
re .compile (r'mem=5678' ),
292
292
re .compile (r'ppn=5' ),
293
293
re .compile (r'^#PBS some_option_asdf' , re .M ),
@@ -315,7 +315,7 @@ def test_moab(db, io_loop):
315
315
'req_epilogue' : 'EPILOGUE' ,
316
316
}
317
317
batch_script_re_list = [
318
- re .compile (r'^PROLOGUE.*^singleuser_command.*^EPILOGUE' , re .S | re .M ),
318
+ re .compile (r'^PROLOGUE.*^batchspawner-singleuser singleuser_command.*^EPILOGUE' , re .S | re .M ),
319
319
re .compile (r'mem=5678' ),
320
320
re .compile (r'ppn=5' ),
321
321
re .compile (r'^#PBS some_option_asdf' , re .M ),
@@ -376,7 +376,7 @@ def test_slurm(db, io_loop):
376
376
'req_reservation' : 'RES123' ,
377
377
}
378
378
batch_script_re_list = [
379
- re .compile (r'PROLOGUE.*srun singleuser_command.*EPILOGUE' , re .S ),
379
+ re .compile (r'PROLOGUE.*srun batchspawner-singleuser singleuser_command.*EPILOGUE' , re .S ),
380
380
re .compile (r'^#SBATCH \s+ --cpus-per-task=5' , re .X | re .M ),
381
381
re .compile (r'^#SBATCH \s+ --time=3-05:10:10' , re .X | re .M ),
382
382
re .compile (r'^#SBATCH \s+ some_option_asdf' , re .X | re .M ),
@@ -441,7 +441,7 @@ def test_condor(db, io_loop):
441
441
'req_options' : 'some_option_asdf' ,
442
442
}
443
443
batch_script_re_list = [
444
- re .compile (r'exec singleuser_command' ),
444
+ re .compile (r'exec batchspawner-singleuser singleuser_command' ),
445
445
re .compile (r'RequestCpus = 5' ),
446
446
re .compile (r'RequestMemory = 5678' ),
447
447
re .compile (r'^some_option_asdf' , re .M ),
@@ -470,7 +470,7 @@ def test_lfs(db, io_loop):
470
470
'req_epilogue' : 'EPILOGUE' ,
471
471
}
472
472
batch_script_re_list = [
473
- re .compile (r'^PROLOGUE.*^singleuser_command.*^EPILOGUE' , re .S | re .M ),
473
+ re .compile (r'^PROLOGUE.*^batchspawner-singleuser singleuser_command.*^EPILOGUE' , re .S | re .M ),
474
474
re .compile (r'#BSUB\s+-q\s+some_queue' , re .M ),
475
475
]
476
476
script = [
0 commit comments