Skip to content

Commit

Permalink
Increase timeout for singleuser-server startup.
Browse files Browse the repository at this point in the history
  • Loading branch information
csadorf committed Sep 14, 2022
1 parent 05a5fdd commit 336ef44
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions k8s/values.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ singleuser:
tag: "latest"
pullPolicy: Never # To use locally built images
cmd: start-singleuser.sh
hub:
extraConfig:
myConfig: |
c.KubeSpawner.http_timeout = 60
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def notebook_service(docker_ip, docker_services):
port = docker_services.port_for("aiidalab", 8888)
url = f"http://{docker_ip}:{port}"
docker_services.wait_until_responsive(
timeout=30.0, pause=0.1, check=lambda: is_responsive(url)
timeout=60.0, pause=0.1, check=lambda: is_responsive(url)
)
return url

Expand Down

0 comments on commit 336ef44

Please sign in to comment.