diff options
| author | Lorenzo Colitti <lorenzo@google.com> | 2017-03-10 12:19:08 +0900 |
|---|---|---|
| committer | Lorenzo Colitti <lorenzo@google.com> | 2017-03-22 11:20:08 +0900 |
| commit | 2bd804a5e9f770333a51a44ce4627c8136277af6 (patch) | |
| tree | 120a8bcf0a9a7ad9d781daf42f25f90ac9c453af /server/RouteController.cpp | |
| parent | 35fb85042e214e050e7798f6194a4746a9cd9bdd (diff) | |
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
Diffstat (limited to 'server/RouteController.cpp')
0 files changed, 0 insertions, 0 deletions
