mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-18 07:22:57 +00:00
Fix test to use bash for multiple commands
This commit is contained in:
@@ -24,7 +24,7 @@ def test_unsigned_ssl(container, http_client):
|
|||||||
container.run(
|
container.run(
|
||||||
environment=['GEN_CERT=yes']
|
environment=['GEN_CERT=yes']
|
||||||
)
|
)
|
||||||
# NOTE: The requests.Session backing the http_client fixture does not retry
|
# NOTE: The requests.Session backing the http_client fixture does not retry
|
||||||
# properly while the server is booting up. An SSL handshake error seems to
|
# properly while the server is booting up. An SSL handshake error seems to
|
||||||
# abort the retry logic. Forcing a long sleep for the moment until I have
|
# abort the retry logic. Forcing a long sleep for the moment until I have
|
||||||
# time to dig more.
|
# time to dig more.
|
||||||
@@ -40,7 +40,7 @@ def test_uid_change(container):
|
|||||||
tty=True,
|
tty=True,
|
||||||
user='root',
|
user='root',
|
||||||
environment=['NB_UID=1010'],
|
environment=['NB_UID=1010'],
|
||||||
command=['start.sh', 'id && touch /opt/conda/test-file']
|
command=['start.sh', 'bash', '-c', 'id && touch /opt/conda/test-file']
|
||||||
)
|
)
|
||||||
# usermod is slow so give it some time
|
# usermod is slow so give it some time
|
||||||
c.wait(timeout=120)
|
c.wait(timeout=120)
|
||||||
|
Reference in New Issue
Block a user