Skip to content

Commit

Permalink
#335: Fixed DNS resolution in ITDE when running jupyter notebook tests (
Browse files Browse the repository at this point in the history
#336)

closes #335
  • Loading branch information
tomuben authored Oct 22, 2024
1 parent df5936d commit f9aed53
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 5 additions & 0 deletions doc/changes/changes_3.2.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@
Code name:

## Summary


## Bug Fixes

- #335: Fixed DNS resolution in ITDE when running jupyter notebook tests
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
apt_dependencies:
- apt-transport-https=2.4.5
- gpg-agent=2.2.27-3ubuntu2.1
- ca-certificates=20230311ubuntu0.22.04.1
- ca-certificates=20240203~22.04.1
- software-properties-common=0.99.22.9
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,12 @@ def test_notebook(notebook_test_container_with_log, notebook_test_file, notebook
command_echo_virtual_env = 'bash -c "echo $VIRTUAL_ENV"'
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"{virtual_env}/bin/python "
f"-m pytest --setup-show -s "
f"--backend={notebook_test_backend} "
f"--itde-nameserver='8.8.8.8' "
f"--itde-db-mem-size '4 GiB' "
f"{notebook_test_file}"
)
environ = os.environ.copy()
environ["NBTEST_ACTIVE"] = "TRUE"
Expand Down

0 comments on commit f9aed53

Please sign in to comment.