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

Skip to content
Commit c1a2deb6 authored by Erwin Jansen's avatar Erwin Jansen
Browse files

Rootcanal: do not starve the reader in unittest

On an M1 the writer thread can write faster than the reader can read.
This results in the reader never exiting the loop, causing the test to
hang.

We now lower the rate of writing to make sure the readers can always
keep up.

Bug: 251187705
Test: Unit tests now succeed on M1
Change-Id: Ia675c3b3b0613b2b00a588a803473a3d997bf0ee
parent ec6a7848
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