forked from espressif/esp-idf
fix(ci): update HTTP client example tests runner assignment
HTTP client example tests now connect with locally hosted httpbin service for more stable results across multiple runs
This commit is contained in:
@ -135,6 +135,14 @@ example_test_pytest_esp32_ethernet:
|
|||||||
- build_pytest_examples_esp32
|
- build_pytest_examples_esp32
|
||||||
tags: [ esp32, ethernet]
|
tags: [ esp32, ethernet]
|
||||||
|
|
||||||
|
pytest_examples_esp32_ethernet_httpbin:
|
||||||
|
extends:
|
||||||
|
- .pytest_examples_dir_template
|
||||||
|
- .rules:test:example_test-esp32-ethernet
|
||||||
|
needs:
|
||||||
|
- build_pytest_examples_esp32
|
||||||
|
tags: [ esp32, httpbin]
|
||||||
|
|
||||||
example_test_pytest_esp32_8mb_flash:
|
example_test_pytest_esp32_8mb_flash:
|
||||||
extends:
|
extends:
|
||||||
- .pytest_examples_dir_template
|
- .pytest_examples_dir_template
|
||||||
|
@ -11,7 +11,7 @@ from pytest_embedded import Dut
|
|||||||
@pytest.mark.esp32c3
|
@pytest.mark.esp32c3
|
||||||
@pytest.mark.esp32s2
|
@pytest.mark.esp32s2
|
||||||
@pytest.mark.esp32s3
|
@pytest.mark.esp32s3
|
||||||
@pytest.mark.ethernet
|
@pytest.mark.httpbin
|
||||||
def test_examples_protocol_esp_http_client(dut: Dut) -> None:
|
def test_examples_protocol_esp_http_client(dut: Dut) -> None:
|
||||||
"""
|
"""
|
||||||
steps: |
|
steps: |
|
||||||
@ -57,7 +57,11 @@ def test_examples_protocol_esp_http_client(dut: Dut) -> None:
|
|||||||
dut.expect('Finish http example')
|
dut.expect('Finish http example')
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize('config', [pytest.param('ssldyn', marks=[pytest.mark.supported_targets, pytest.mark.ethernet]),], indirect=True)
|
@pytest.mark.supported_targets
|
||||||
|
@pytest.mark.httpbin
|
||||||
|
@pytest.mark.parametrize('config', [
|
||||||
|
'ssldyn',
|
||||||
|
], indirect=True)
|
||||||
def test_examples_protocol_esp_http_client_dynamic_buffer(dut: Dut) -> None:
|
def test_examples_protocol_esp_http_client_dynamic_buffer(dut: Dut) -> None:
|
||||||
# test mbedtls dynamic resource
|
# test mbedtls dynamic resource
|
||||||
# check and log bin size
|
# check and log bin size
|
||||||
|
@ -47,6 +47,7 @@ markers =
|
|||||||
ir_transceiver: runners with a pair of IR transmitter and receiver
|
ir_transceiver: runners with a pair of IR transmitter and receiver
|
||||||
flash_encryption_wifi_high_traffic: Flash Encryption runners with wifi high traffic support
|
flash_encryption_wifi_high_traffic: Flash Encryption runners with wifi high traffic support
|
||||||
ethernet: ethernet runner
|
ethernet: ethernet runner
|
||||||
|
httpbin: runner for tests that need to access the httpbin service
|
||||||
ethernet_flash_8m: ethernet runner with 8mb flash
|
ethernet_flash_8m: ethernet runner with 8mb flash
|
||||||
ethernet_router: both the runner and dut connect to the same router through ethernet NIC
|
ethernet_router: both the runner and dut connect to the same router through ethernet NIC
|
||||||
wifi_ap: a wifi AP in the environment
|
wifi_ap: a wifi AP in the environment
|
||||||
|
Reference in New Issue
Block a user