Increase timeouts to make tests fail less

This commit is contained in:
Ayaz Salikhov
2025-04-03 15:34:12 +01:00
parent 6300775047
commit fcff9a93bb
2 changed files with 2 additions and 2 deletions

View File

@@ -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 ..."
)

View File

@@ -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"],