From 2c1d52b5b9d7f43063d2667d2519c77ffdb62eca Mon Sep 17 00:00:00 2001 From: Marius Vikhammer Date: Wed, 20 Nov 2024 14:11:24 +0800 Subject: [PATCH] ci(twai): disable twai_network test --- examples/peripherals/.build-test-rules.yml | 4 ++-- .../twai/twai_network/pytest_twai_network_example.py | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/examples/peripherals/.build-test-rules.yml b/examples/peripherals/.build-test-rules.yml index dbf5565c56..c9d47a4ee7 100644 --- a/examples/peripherals/.build-test-rules.yml +++ b/examples/peripherals/.build-test-rules.yml @@ -457,9 +457,9 @@ examples/peripherals/twai/twai_network: disable: - if: SOC_TWAI_SUPPORTED != 1 disable_test: - - if: IDF_TARGET not in ["esp32"] + - if: 1 == 1 temporary: true - reason: lack of runners + reason: Test is flakey, TODO IDF-2939 examples/peripherals/twai/twai_self_test: disable: diff --git a/examples/peripherals/twai/twai_network/pytest_twai_network_example.py b/examples/peripherals/twai/twai_network/pytest_twai_network_example.py index 6eb3f43327..5f7042e940 100644 --- a/examples/peripherals/twai/twai_network/pytest_twai_network_example.py +++ b/examples/peripherals/twai/twai_network/pytest_twai_network_example.py @@ -1,6 +1,5 @@ # SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD # SPDX-License-Identifier: CC0-1.0 - import os.path from threading import Thread from typing import Tuple @@ -35,7 +34,6 @@ def dut_thread_callback(**kwargs) -> None: # type: ignore result[0] = True -@pytest.mark.esp32 @pytest.mark.skip(reason="there's not a good approach to sync multiple DUTs") @pytest.mark.twai_network @pytest.mark.parametrize(