deflake NetdBinderTest#SocketDestroyLinkLocal
by adding 'nodad' to interfaceAddAddress and slowing things down even
a little bit more by adding ips to two more tun devices.
(while at it print our errno in a lot more failure locations,
to ease future debugging of any flakes/failures)
(also close sockets at the end of the test to prevent fd/socket leaks)
'nodad' (ie. adding the ~) by itself gets flake rate down from 15 in 100
to ~1 in 100. The extra tun3/tun4 ip addition get flake rate down to ~0.1%.
Test: TreeHugger, atest --iterations 10 NetdBinderTest, atest --iterations 1000 'NetdBinderTest#SocketDestroyLinkLocal'
Bug: 242067762
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: Ic31a78989a4dc2c216a6b3cc44e473eaf093ea97
1 file changed