Skip to content

Commit 6055d5d

Browse files
committed
Suppress a warning message in JupyterLab logs
This is now emitted because we are specifying "" as the listening address, where previously it was "0.0.0.0". ``` "WARNING: The Jupyter server is listening on all IP addresses and not using encryption. This is not recommended.", ```
1 parent ae25b8d commit 6055d5d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/containers/workbenches/workbench_image_test.py

+2
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,8 @@ def grab_and_check_logs(subtests: pytest_subtests.SubTests, container: Workbench
196196
"JupyterEventsVersionWarning: The `version` property of an event schema must be a string. It has been type coerced, but in a future version of this library, it will fail to validate.",
197197
# This is a message from our reverse proxy nginx caused by the fact that we attempt to connect to the code-server before it's actually running (container.start(wait_for_readiness=True)).
198198
"connect() failed (111: Connection refused) while connecting to upstream, client",
199+
# We use oauth-proxy to give us authentication, and we use OpenShift route to get HTTPS
200+
"WARNING: The Jupyter server is listening on all IP addresses and not using encryption. This is not recommended.",
199201
]
200202

201203
# Let's wait a couple of seconds to give a chance to log eventual extra startup messages just to be sure we don't

0 commit comments

Comments
 (0)