commit | 5b6ab6ee9e0a88c101ea015f17be13af5badf927 | [log] [tgz] |
---|---|---|
author | Zheng Pan <zhengpan@google.com> | Tue May 14 16:39:54 2024 -0700 |
committer | mdb:android-git <superproject-auto-update@invalid> | Mon May 20 10:58:56 2024 +0000 |
tree | 9669d4efa4f85cc1d4e92a681e0760040261b864 | |
parent | 048bac63c9f010c678d48b9de59d9994781e770f [diff] |
net-test: Fix testDadFailure() WaitForDad() on link local addr doesn't necessarily mean DAD failure. Add WaitForDadFailure() to check either address is deleted or IFA_F_DADFAILED flag is set after DAD failure. Also after SendRA(), sleep(0.1) to give kernel time to initialize DAD. Bug: 327366827 Test: atest Change-Id: I9e71d2eee149216449ab1eca8fbdb0b2433bfac5