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

Skip to content
Commit 2bd804a5 authored by Lorenzo Colitti's avatar Lorenzo Colitti
Browse files

Update test code to match new iptables behaviour.

iptables is changing the locking code from binding to an abstract
UNIX socket to calling flock() on a real file. Update test code
that acquires the iptables lock.

Also, make said code more robust by retrying up to 10 times if
the lock is held. This should make the test less flaky.

Bug: 36108349
Test: IptablesRestoreControllerTest passes with new iptables
Change-Id: I1d1d454d78382e76d178c4ef43f2c40a46f81f62
parent 35fb8504
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