Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Test Failed] ICD unit test TestICDStateObserverOnTransitionToIdleModeEqualActiveModeDuration failure #33441

Open
jmartinez-silabs opened this issue May 14, 2024 · 0 comments
Labels
icd Intermittently Connected Devices needs triage tests

Comments

@jmartinez-silabs
Copy link
Member

Test issue(s)

The test TestICDStateObserverOnTransitionToIdleModeEqualActiveModeDuration fails at this check
https://github.com/project-chip/connectedhomeip/blob/master/src/app/icd/server/tests/TestICDManager.cpp#L1091
on systems using freeRTOS-based system layer timers.

The current assumption of the test is that the OnTransitionToIdle callback isn't called directly if timer is started with a timeout value of 0 here. The test then expects 1 extra event loop for the callback to be executed.

That seems to be true with the POSIX system layer timer implementation but not on the freeRTOS-based one, where the call back is instead called instantly.

This leads to different test results on other platforms.

Platform

freeRTOS

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
icd Intermittently Connected Devices needs triage tests
Projects
Development

No branches or pull requests

1 participant