Remi NGUYEN VAN
1f210f792a
Fix flake in testConnectivityDiagnosticsCallbackOnConnectivityReported
...
The test relied on waitForIdle to ensure diagnostics callbacks were called,
but as this may require several iterations in the handler queue, this makes
the test unreliable.
Use mockito timeouts on the verify() calls instead.
Bug: 192651465
Change-Id: Iae1704af7ae3649eae301c6aee223ac753629d55
Test: atest ConnectivityServiceTest
2021-07-06 06:05:38 +00:00
..
connectivity
Listen EXTERNAL_APPLICATIONS_AVAILABLE intent
2021-07-02 22:35:26 +08:00
net
Re-skip connectivity unit tests before S
2021-06-30 12:00:28 +09:00
ConnectivityServiceTest.java
Fix flake in testConnectivityDiagnosticsCallbackOnConnectivityReported
2021-07-06 06:05:38 +00:00
IpSecServiceParameterizedTest.java
Re-skip connectivity unit tests before S
2021-06-30 12:00:28 +09:00
IpSecServiceRefcountedResourceTest.java
Re-skip connectivity unit tests before S
2021-06-30 12:00:28 +09:00
IpSecServiceTest.java
Re-skip connectivity unit tests before S
2021-06-30 12:00:28 +09:00
LegacyTypeTrackerTest.kt
Re-skip connectivity unit tests before S
2021-06-30 12:00:28 +09:00
NetIdManagerTest.kt
Re-skip connectivity unit tests before S
2021-06-30 12:00:28 +09:00
NetworkManagementServiceTest.java
Re-skip connectivity unit tests before S
2021-06-30 12:00:28 +09:00
NsdServiceTest.java
Re-skip connectivity unit tests before S
2021-06-30 12:00:28 +09:00