From 9bfc82c6a38f1224ce2d73369574ae4c5d35cb6a Mon Sep 17 00:00:00 2001 From: Johan Bloemberg Date: Tue, 12 Nov 2024 12:18:15 +0100 Subject: [PATCH] [1.8.x] Skip RPKI related tests until they can be made stable https://github.com/internetstandards/Internet.nl/issues/1549 (cherry picked from commit 5d484479c5140094ded6fcf6108de778284fcd57) --- integration_tests/develop/test_website.py | 3 +++ tests/unittests/test_tasks_rpki.py | 2 ++ 2 files changed, 5 insertions(+) diff --git a/integration_tests/develop/test_website.py b/integration_tests/develop/test_website.py index 0a55f23b6..c3429808f 100644 --- a/integration_tests/develop/test_website.py +++ b/integration_tests/develop/test_website.py @@ -43,6 +43,9 @@ def test_your_website_score_with_ipv6(page, app_url, test_domain): expect(score).to_have_attribute("data-resultscore", str(TEST_DOMAIN_EXPECTED_SCORE)) +@pytest.mark.skip( + reason="Temporary disabled due to RPKI instability, https://github.com/internetstandards/Internet.nl/issues/1549" +) @pytest.mark.skipif(ipv6_available(), reason="IPv6 networking available") def test_your_website_score_no_ipv6(page, app_url, test_domain): """Run "Test your website" from the frontpage and expect a decent result.""" diff --git a/tests/unittests/test_tasks_rpki.py b/tests/unittests/test_tasks_rpki.py index 0f1735e14..a8ffc1561 100644 --- a/tests/unittests/test_tasks_rpki.py +++ b/tests/unittests/test_tasks_rpki.py @@ -1,6 +1,7 @@ import responses from django.test import SimpleTestCase, override_settings +from unittest import skip from checks.tasks import SetupUnboundContext as Task from checks.tasks.rpki import do_rpki @@ -29,6 +30,7 @@ def setUp(self) -> None: self.task = Task() return super().setUp() + @skip("Temporary disabled due to RPKI instability, https://github.com/internetstandards/Internet.nl/issues/1549") @override_settings(ROUTINATOR_URL="https://example.net/api/v1/validity") def test_do_rpki(self): for domain, expected_result in BEACONS.items():