From 44ec19bace42b9da503522a470b9c3ef0cb3c344 Mon Sep 17 00:00:00 2001 From: Thomas Ubensee <34603111+tomuben@users.noreply.github.com> Date: Fri, 18 Oct 2024 10:54:56 -0300 Subject: [PATCH] #335: Fixed DNS resolution in ITDE when running jupyter notebook tests --- doc/changes/changes_3.2.0.md | 5 +++++ .../test_notebooks_in_dss_docker_image.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/changes/changes_3.2.0.md b/doc/changes/changes_3.2.0.md index e4fbbf63..1995335f 100644 --- a/doc/changes/changes_3.2.0.md +++ b/doc/changes/changes_3.2.0.md @@ -3,3 +3,8 @@ Code name: ## Summary + + +## Bug Fixes + + - #335: Fixed DNS resolution in ITDE when running jupyter notebook tests diff --git a/test/notebook_test_runner/test_notebooks_in_dss_docker_image.py b/test/notebook_test_runner/test_notebooks_in_dss_docker_image.py index 0bfd5003..e5f4c800 100644 --- a/test/notebook_test_runner/test_notebooks_in_dss_docker_image.py +++ b/test/notebook_test_runner/test_notebooks_in_dss_docker_image.py @@ -81,7 +81,7 @@ def test_notebook(notebook_test_container_with_log, notebook_test_file, notebook virtual_env = exec_command(command_echo_virtual_env, container) command_run_test = ( f"{virtual_env}/bin/python" - f" -m pytest --setup-show -s --backend={notebook_test_backend} {notebook_test_file}" + f" -m pytest --setup-show -s --backend={notebook_test_backend} --itde-nameserver='8.8.8.8' {notebook_test_file}" ) environ = os.environ.copy() environ["NBTEST_ACTIVE"] = "TRUE"