mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Update tests to check for newer location of idle culler
This commit is contained in:
@@ -213,7 +213,7 @@ def test_cull_service_default():
|
||||
c = apply_mock_config({})
|
||||
|
||||
cull_cmd = [
|
||||
sys.executable, '-m', 'tljh.cull_idle_servers',
|
||||
sys.executable, '-m', 'jupyterhub_idle_culler',
|
||||
'--timeout=600', '--cull-every=60', '--concurrency=5',
|
||||
'--max-age=0'
|
||||
]
|
||||
@@ -238,7 +238,7 @@ def test_set_cull_service():
|
||||
}
|
||||
})
|
||||
cull_cmd = [
|
||||
sys.executable, '-m', 'tljh.cull_idle_servers',
|
||||
sys.executable, '-m', 'jupyterhub_idle_culler',
|
||||
'--timeout=600', '--cull-every=10', '--concurrency=5',
|
||||
'--max-age=60', '--cull-users'
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user