You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The idmap-api-test routine occasionally fails, because it creates one of its semaphores in a sub task, but does not actually wait for that sub task to run.
To Reproduce
Run idmap test, in particular a single core machine seems to reproduce it more reliably.
Expected behavior
Need to add a wait loop of some type in main task to make sure child task has executed.
Describe the bug
The
idmap-api-test
routine occasionally fails, because it creates one of its semaphores in a sub task, but does not actually wait for that sub task to run.To Reproduce
Run idmap test, in particular a single core machine seems to reproduce it more reliably.
Expected behavior
Need to add a wait loop of some type in main task to make sure child task has executed.
Code snips
Task started here:
osal/src/tests/idmap-api-test/idmap-api-test.c
Line 106 in 3604387
Might want to employ a loop similar to what is done here to make sure the child task has executed:
osal/src/tests/osal-core-test/osal-core-test.c
Lines 154 to 159 in 3604387
System observed on:
CentOS 6.9 VM (single core)
Reporter Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered: