mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-15 05:52:57 +00:00
Increase timeouts to make tests fail less
This commit is contained in:
@@ -40,7 +40,7 @@ def test_nb_user_change(container: TrackedContainer) -> None:
|
||||
|
||||
# Give the chown time to complete.
|
||||
# Use sleep, not wait, because the container sleeps forever.
|
||||
time.sleep(1)
|
||||
time.sleep(5)
|
||||
LOGGER.info(
|
||||
f"Checking if a home folder of {nb_user} contains the hidden '.jupyter' folder with appropriate permissions ..."
|
||||
)
|
||||
|
@@ -25,7 +25,7 @@ def test_uid_change(container: TrackedContainer) -> None:
|
||||
def test_gid_change(container: TrackedContainer) -> None:
|
||||
"""Container should change the GID of the default user."""
|
||||
logs = container.run_and_wait(
|
||||
timeout=10,
|
||||
timeout=20,
|
||||
user="root",
|
||||
environment=["NB_GID=110"],
|
||||
command=["id"],
|
||||
|
Reference in New Issue
Block a user