Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 67e1aeaf authored by Abhishek Gadewar's avatar Abhishek Gadewar
Browse files

Add an assertion to verify the size of the ACL queue.



Summary: acl_queue is never checked for emptiness after waiting for callback which can lead to undefined behaviour when calling pop() and front(). Add asserts to validate queue before continuing the test.

Test: run the test and callback timeout is accurately caught by asserts.

Change-Id: I8a922b2d33c0b8d31b100d2ef532584f4d491922
Signed-off-by: default avatarAbhishek Gadewar <abhishekgadewar@meta.com>
parent 38ea9b05
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment