Skip to content
Commit 611ebb6d authored by Daniel Leung's avatar Daniel Leung Committed by Henrik Brix Andersen
Browse files

tests: workq/user_work: change how resource pool is exhausted



The assumption of going through 100 iterations of allocating for
work queue is that the HEAP size is 1024 bytes. However, there
are platforms where the HEAP size is inflated due to subsystems
and/or drivers being included. So change the for loop into
a loop where it only stops until there is no memory to be
allocated.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent 78fe6683
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment