mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-21 00:30:34 +00:00
freertos: Fix/remove flakey tests after migration
This commit fixes/ignores flakey freertos unit tests after migrating them to the test app: - Added vTaskDelay() before teardown to prevent memory leaks - Adjusted the "main" task's priority so that scheudling tasks would work - pytest now only runs tests that are not ignored - Reset tests are temporarily ignored. Will be enabled to dedicate reset tests. - Some flakey tests are fixed by adjusting delays and stack sizes.
This commit is contained in:
@@ -18,5 +18,6 @@ CONFIGS = [
|
||||
@pytest.mark.parametrize('config', CONFIGS, indirect=True)
|
||||
def test_freertos(dut: Dut) -> None:
|
||||
dut.expect_exact('Press ENTER to see the list of tests')
|
||||
dut.write('*')
|
||||
dut.expect_unity_test_output()
|
||||
dut.write('![ignore]')
|
||||
# All of the FreeRTOS tests combined take > 60s to run. So we use a 120s timeout
|
||||
dut.expect_unity_test_output(timeout=120)
|
||||
|
Reference in New Issue
Block a user