Add SLURM job name to the config
This commit is contained in:
parent
1f51d5e017
commit
0273f449b8
2 changed files with 6 additions and 0 deletions
|
@ -18,6 +18,11 @@ class GlicidSpawner(SlurmSpawner):
|
|||
help='Spawner singleuser command.',
|
||||
).tag(config=True)
|
||||
|
||||
req_job_name = Unicode(
|
||||
'jupyterhub_glicid',
|
||||
help='SLURM job name',
|
||||
).tag(config=True)
|
||||
|
||||
req_qos = Unicode(
|
||||
'short',
|
||||
help='QoS name to submit job to resource manager',
|
||||
|
|
|
@ -21,6 +21,7 @@ def test_spawner_config():
|
|||
|
||||
assert spawner.batchspawner_singleuser_cmd == 'glicid-spawner-singleuser'
|
||||
|
||||
assert spawner.req_job_name == 'jupyterhub_glicid'
|
||||
assert spawner.req_qos == 'short'
|
||||
assert spawner.progress_rate == 10
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue