diff --git a/tests/test_container_build.py b/tests/test_container_build.py index 0df23a9..2cd7433 100644 --- a/tests/test_container_build.py +++ b/tests/test_container_build.py @@ -44,7 +44,10 @@ SLEEP_CONTAINER = DerivedContainer( base=LEAP_URL, - containerfile="""ENTRYPOINT ["/usr/bin/sleep", "3600"]""", + containerfile=""" +# ps is needed for the tests to filter processes +RUN zypper -n in ps +ENTRYPOINT ["/usr/bin/sleep", "3600"]""", ) LEAP2 = DerivedContainer(base=LEAP) diff --git a/tests/test_pod.py b/tests/test_pod.py index a847493..3bea4bf 100644 --- a/tests/test_pod.py +++ b/tests/test_pod.py @@ -142,7 +142,7 @@ def test_proxy_pod(pod_per_test: PodData, host) -> None: "Hello Green World" in host.run_expect( [0], - f"curl --fail http://localhost:{pod_per_test.forwarded_ports[0].host_port}", + f"curl --fail http://0.0.0.0:{pod_per_test.forwarded_ports[0].host_port}", ).stdout )