From 573dd0187d2a70dc5b668850a0b4faca68e62c19 Mon Sep 17 00:00:00 2001 From: Harshit Malpani Date: Fri, 1 Jul 2022 11:45:50 +0530 Subject: [PATCH] Mark OTA tests as xfail --- examples/system/ota/advanced_https_ota/pytest_advanced_ota.py | 4 ++-- examples/system/ota/simple_ota_example/pytest_simple_ota.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/system/ota/advanced_https_ota/pytest_advanced_ota.py b/examples/system/ota/advanced_https_ota/pytest_advanced_ota.py index 7c750c4f02..a35a4e65f4 100644 --- a/examples/system/ota/advanced_https_ota/pytest_advanced_ota.py +++ b/examples/system/ota/advanced_https_ota/pytest_advanced_ota.py @@ -576,7 +576,7 @@ def test_examples_protocol_advanced_https_ota_example_partial_request(dut: Dut) @pytest.mark.esp32s3 @pytest.mark.wifi_ota @pytest.mark.parametrize('config', ['nimble',], indirect=True) -@pytest.mark.flaky(reruns=3, reruns_delay=5) +@pytest.mark.xfail(run=False) def test_examples_protocol_advanced_https_ota_example_nimble_gatts(dut: Dut) -> None: """ Run an OTA image update while a BLE GATT Server is running in background. This GATT server will be using NimBLE Host stack. @@ -619,7 +619,7 @@ def test_examples_protocol_advanced_https_ota_example_nimble_gatts(dut: Dut) -> @pytest.mark.esp32s3 @pytest.mark.wifi_ota @pytest.mark.parametrize('config', ['bluedroid',], indirect=True) -@pytest.mark.flaky(reruns=3, reruns_delay=5) +@pytest.mark.xfail(run=False) def test_examples_protocol_advanced_https_ota_example_bluedroid_gatts(dut: Dut) -> None: """ Run an OTA image update while a BLE GATT Server is running in background. This GATT server will be using Bluedroid Host stack. diff --git a/examples/system/ota/simple_ota_example/pytest_simple_ota.py b/examples/system/ota/simple_ota_example/pytest_simple_ota.py index cb802724ba..1ed7f6538c 100644 --- a/examples/system/ota/simple_ota_example/pytest_simple_ota.py +++ b/examples/system/ota/simple_ota_example/pytest_simple_ota.py @@ -128,7 +128,7 @@ def calc_all_sha256(dut: Dut) -> Tuple[str, str]: @pytest.mark.esp32s2 @pytest.mark.esp32s3 @pytest.mark.wifi_ota -@pytest.mark.flaky(reruns=3, reruns_delay=5) +@pytest.mark.xfail(run=False) def test_examples_protocol_simple_ota_example(dut: Dut) -> None: """ steps: |