mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 19:13:13 +00:00
Merge branch 'fix/relax-examples-expected-log' into 'main'
examples: relax expected log patterns for C2, C3 and H2 tests See merge request app-frameworks/esp-matter!1489
This commit is contained in:
@@ -41,7 +41,7 @@ PYTEST_PASSPHRASE = gitlab_api.ci_gitlab_pytest_passphrase
|
|||||||
def test_matter_commissioning_c3(dut:Dut) -> None:
|
def test_matter_commissioning_c3(dut:Dut) -> None:
|
||||||
light = dut
|
light = dut
|
||||||
# BLE start advertising
|
# BLE start advertising
|
||||||
light.expect(r'chip\[DL\]\: Configuring CHIPoBLE advertising', timeout=20)
|
light.expect(r'Configuring CHIPoBLE advertising', timeout=20)
|
||||||
# Start commissioning
|
# Start commissioning
|
||||||
time.sleep(5)
|
time.sleep(5)
|
||||||
command = CHIP_TOOL_EXE + f" pairing ble-wifi 1 {PYTEST_SSID} {PYTEST_PASSPHRASE} 20202021 3840"
|
command = CHIP_TOOL_EXE + f" pairing ble-wifi 1 {PYTEST_SSID} {PYTEST_PASSPHRASE} 20202021 3840"
|
||||||
@@ -80,7 +80,7 @@ def test_matter_commissioning_c3(dut:Dut) -> None:
|
|||||||
def test_matter_commissioning_c2(dut:Dut) -> None:
|
def test_matter_commissioning_c2(dut:Dut) -> None:
|
||||||
light = dut
|
light = dut
|
||||||
# BLE start advertising
|
# BLE start advertising
|
||||||
light.expect(r'chip\[DL\]\: Configuring CHIPoBLE advertising', timeout=20)
|
light.expect(r'Configuring CHIPoBLE advertising', timeout=20)
|
||||||
# Start commissioning
|
# Start commissioning
|
||||||
time.sleep(5)
|
time.sleep(5)
|
||||||
command = CHIP_TOOL_EXE + f" pairing ble-wifi 1 {PYTEST_SSID} {PYTEST_PASSPHRASE} 20202021 3840"
|
command = CHIP_TOOL_EXE + f" pairing ble-wifi 1 {PYTEST_SSID} {PYTEST_PASSPHRASE} 20202021 3840"
|
||||||
@@ -252,8 +252,8 @@ def test_matter_commissioning_h2(dut:Tuple[Dut, Dut]) -> None:
|
|||||||
# For matter over thread commissioning need to reset host interface
|
# For matter over thread commissioning need to reset host interface
|
||||||
fixture_Init_interface()
|
fixture_Init_interface()
|
||||||
# BLE start advertising
|
# BLE start advertising
|
||||||
light.expect(r'chip\[DL\]\: Configuring CHIPoBLE advertising', timeout=20)
|
light.expect(r'Configuring CHIPoBLE advertising', timeout=20)
|
||||||
ot_br.expect(r'chip\[DL\]\: Configuring CHIPoBLE advertising', timeout=20)
|
ot_br.expect(r'Configuring CHIPoBLE advertising', timeout=20)
|
||||||
# Start commissioning OTBR
|
# Start commissioning OTBR
|
||||||
time.sleep(2)
|
time.sleep(2)
|
||||||
command = CHIP_TOOL_EXE + f" pairing ble-wifi 1 {PYTEST_SSID} {PYTEST_PASSPHRASE} 20202021 3584"
|
command = CHIP_TOOL_EXE + f" pairing ble-wifi 1 {PYTEST_SSID} {PYTEST_PASSPHRASE} 20202021 3584"
|
||||||
|
|||||||
Reference in New Issue
Block a user