mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'ci/pytest_case_tester_script_fix_v5.1' into 'release/v5.1'
ci: pytest automation script increase timeout time (v5.1) See merge request espressif/esp-idf!23447
This commit is contained in:
commit
3048251be0
@ -126,6 +126,8 @@ static void deinit_essl(essl_handle_t handle, const sdio_test_config_t *conf);
|
||||
|
||||
static void test_framework_master(test_func_t test_func, const sdio_test_config_t* config)
|
||||
{
|
||||
unity_send_signal("Master ready");
|
||||
unity_wait_for_signal("Slave ready");
|
||||
ESP_LOGI(MASTER_TAG, "### Testing %s... ####", config->test_name);
|
||||
essl_handle_t handle;
|
||||
esp_err_t err;
|
||||
@ -552,6 +554,7 @@ static void wait_for_finish(slave_context_t *ctx)
|
||||
|
||||
static void test_framework_slave(test_func_slave_t test_func, const sdio_test_config_t* config)
|
||||
{
|
||||
unity_wait_for_signal("Master ready");
|
||||
slave_context.s_finished = false;
|
||||
esp_err_t err;
|
||||
sdio_slave_config_t slave_config = {
|
||||
@ -566,7 +569,7 @@ static void test_framework_slave(test_func_slave_t test_func, const sdio_test_co
|
||||
err = sdio_slave_start();
|
||||
TEST_ESP_OK(err);
|
||||
|
||||
ESP_LOGI(SLAVE_TAG, "slave ready");
|
||||
unity_send_signal("Slave ready");
|
||||
|
||||
test_func(&slave_context, config);
|
||||
|
||||
|
@ -264,7 +264,7 @@ class MultiDevCaseTester(BaseTester):
|
||||
for retry in range(self.retry_times):
|
||||
dut.write(str(case.index))
|
||||
try:
|
||||
dut.expect_exact('Running {}...'.format(case.name), timeout=1)
|
||||
dut.expect_exact('Running {}...'.format(case.name), timeout=10)
|
||||
break
|
||||
except TIMEOUT as e:
|
||||
if retry >= self.retry_times - 1:
|
||||
|
Loading…
x
Reference in New Issue
Block a user