mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
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:
parent
7d03999b2b
commit
7645723127
@ -266,6 +266,14 @@ pytest_examples_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]
|
||||||
|
|
||||||
pytest_examples_esp32_8mb_flash:
|
pytest_examples_esp32_8mb_flash:
|
||||||
extends:
|
extends:
|
||||||
- .pytest_examples_dir_template
|
- .pytest_examples_dir_template
|
||||||
|
@ -128,6 +128,7 @@ ENV_MARKERS = {
|
|||||||
'eth_w5500': 'SPI Ethernet module with two W5500',
|
'eth_w5500': 'SPI Ethernet module with two W5500',
|
||||||
'nvs_encr_hmac': 'Runner with test HMAC key programmed in efuse',
|
'nvs_encr_hmac': 'Runner with test HMAC key programmed in efuse',
|
||||||
'i2c_oled': 'Runner with ssd1306 I2C oled connected',
|
'i2c_oled': 'Runner with ssd1306 I2C oled connected',
|
||||||
|
'httpbin': 'runner for tests that need to access the httpbin service',
|
||||||
# multi-dut markers
|
# multi-dut markers
|
||||||
'ieee802154': 'ieee802154 related tests should run on ieee802154 runners.',
|
'ieee802154': 'ieee802154 related tests should run on ieee802154 runners.',
|
||||||
'openthread_br': 'tests should be used for openthread border router.',
|
'openthread_br': 'tests should be used for openthread border router.',
|
||||||
|
@ -8,7 +8,7 @@ from pytest_embedded import Dut
|
|||||||
|
|
||||||
|
|
||||||
@pytest.mark.esp32
|
@pytest.mark.esp32
|
||||||
@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: |
|
||||||
@ -55,7 +55,7 @@ def test_examples_protocol_esp_http_client(dut: Dut) -> None:
|
|||||||
|
|
||||||
|
|
||||||
@pytest.mark.esp32
|
@pytest.mark.esp32
|
||||||
@pytest.mark.ethernet
|
@pytest.mark.httpbin
|
||||||
@pytest.mark.parametrize('config', [
|
@pytest.mark.parametrize('config', [
|
||||||
'ssldyn',
|
'ssldyn',
|
||||||
], indirect=True)
|
], indirect=True)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user