diff --git a/test_apps/esp-sr/main/test_afe.c b/test_apps/esp-sr/main/test_afe.c index 049abd6..02bb890 100644 --- a/test_apps/esp-sr/main/test_afe.c +++ b/test_apps/esp-sr/main/test_afe.c @@ -394,7 +394,7 @@ TEST_CASE("audio_front_end VC create/destroy API & memory leak", "[afe_vc]") for (int i = 0; i < 2; i++) { printf("index: %d\n", i); - vTaskDelay(3000 / portTICK_PERIOD_MS); + vTaskDelay(500 / portTICK_PERIOD_MS); start_total_mem_size = heap_caps_get_free_size(MALLOC_CAP_8BIT); start_internal_mem_size = heap_caps_get_free_size(MALLOC_CAP_8BIT | MALLOC_CAP_INTERNAL); start_spiram_mem_size = heap_caps_get_free_size(MALLOC_CAP_8BIT | MALLOC_CAP_SPIRAM); @@ -424,7 +424,7 @@ TEST_CASE("audio_front_end VC create/destroy API & memory leak", "[afe_vc]") } esp_srmodel_deinit(models); - vTaskDelay(3000 / portTICK_PERIOD_MS); + vTaskDelay(1000 / portTICK_PERIOD_MS); end_total_mem_size = heap_caps_get_free_size(MALLOC_CAP_8BIT); end_internal_mem_size = heap_caps_get_free_size(MALLOC_CAP_8BIT | MALLOC_CAP_INTERNAL); end_spiram_mem_size = heap_caps_get_free_size(MALLOC_CAP_8BIT | MALLOC_CAP_SPIRAM); diff --git a/test_apps/esp-sr/pytest_esp_sr.py b/test_apps/esp-sr/pytest_esp_sr.py index 061418e..231624b 100644 --- a/test_apps/esp-sr/pytest_esp_sr.py +++ b/test_apps/esp-sr/pytest_esp_sr.py @@ -59,8 +59,8 @@ def test_sr_afe(dut: Dut)-> None: 'nsnet1', ], ) -def test_sr_afe(dut: Dut)-> None: +def test_vc_afe(dut: Dut)-> None: # dut.run_all_single_board_cases(group="afe") dut.expect_exact('Press ENTER to see the list of tests.') dut.write('[afe_vc]') - dut.expect_unity_test_output(timeout = 1000) \ No newline at end of file + dut.expect_unity_test_output(timeout = 100000) \ No newline at end of file