Always wait for interface to be up in EthernetManagerTest
Adds a global listener that is used to wait for an interface to show up
in EthernetTracker when it is newly created. This prevents races when
the interface is used directly after creation.
This test should fix the testCallback flakes.
Test: atest EthernetManagerTest
Bug: 227008268
Change-Id: I37d2ec63aea9f4de6010e13150bc236ee07e2f85
(cherry picked from commit 5f45a3742ae13550f7105cf0841668cdb319cdb1)
Merged-In: I37d2ec63aea9f4de6010e13150bc236ee07e2f85
1 file changed