From a676fab42eac19fcac3805297cefc8b30e729303 Mon Sep 17 00:00:00 2001 From: Jacob Tomlinson Date: Tue, 21 May 2024 17:49:53 +0100 Subject: [PATCH] Skip test_multiple_bind_addresses_port_forward on macOS (#383) --- kr8s/tests/test_objects.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kr8s/tests/test_objects.py b/kr8s/tests/test_objects.py index f8eb1424..dfe141c7 100644 --- a/kr8s/tests/test_objects.py +++ b/kr8s/tests/test_objects.py @@ -3,6 +3,7 @@ import datetime import inspect import pathlib +import platform import tempfile import time from contextlib import suppress @@ -656,6 +657,10 @@ async def test_unsupported_port_forward(): await PortForward(pv, 80).start() +@pytest.mark.skipif( + "macOS" in platform.platform(), + reason="Hangs on macOS, see https://github.com/kr8s-org/kr8s/issues/380", +) async def test_multiple_bind_addresses_port_forward(nginx_service): [nginx_pod, *_] = await nginx_service.ready_pods()