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

Skip to content
Commit 18f4d9eb authored by Mike Yu's avatar Mike Yu
Browse files

Test: Replace wait_until() with wait_for()

Refactor waitForPrivateDnsValidation() to use wait_for().
The predicate is used to check whether the waiting should be
continued or not. Since waitForNat64Prefix() and popDnsEvent()
will be changed to use condition variable, writing this way
would make it easier to change them and avoid unnecessary awakenings.

Bug: 310108475
Test: resolv_integration_test passed
Change-Id: I2282450a6f3626cbb749030154b581554df7b174
parent 833398e9
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