ota_example: Mark tests as flaky

pull/9014/head
Harshit Malpani 2022-05-30 11:13:05 +05:30
rodzic bf4afcbe57
commit 48bbfaeeba
2 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -576,6 +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)
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.
@ -618,6 +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)
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.

Wyświetl plik

@ -128,6 +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)
def test_examples_protocol_simple_ota_example(dut: Dut) -> None:
"""
steps: |
@ -240,6 +241,7 @@ def test_examples_protocol_simple_ota_example_with_flash_encryption(dut: Dut) ->
@pytest.mark.flash_encryption_wifi_ota
@pytest.mark.parametrize('config', ['flash_enc_wifi',], indirect=True)
@pytest.mark.parametrize('skip_autoflash', ['y'], indirect=True)
@pytest.mark.flaky(reruns=3, reruns_delay=5)
def test_examples_protocol_simple_ota_example_with_flash_encryption_wifi(dut: Dut) -> None:
"""
steps: |