Increase timeout to deflake tests
In failed log, VPN still process the migration which does not send the network capabilities update to network agent. In low performance devices like cuttlefish, it may sometimes cause flaky. Specify a longer timeout to deflake the test. Bug: 293233390 Test: atest FrameworksNetTests Change-Id: I4e6c80c03e19efb448ee2806c5a250425b0e068f
This commit is contained in:
committed by
Chiachang Wang
parent
0b5fb22b1b
commit
595fac0840
@@ -2467,7 +2467,8 @@ public class VpnTest extends VpnTestBase {
|
||||
if (expectedReadFromCarrierConfig) {
|
||||
final ArgumentCaptor<NetworkCapabilities> ncCaptor =
|
||||
ArgumentCaptor.forClass(NetworkCapabilities.class);
|
||||
verify(mMockNetworkAgent).doSendNetworkCapabilities(ncCaptor.capture());
|
||||
verify(mMockNetworkAgent, timeout(TEST_TIMEOUT_MS))
|
||||
.doSendNetworkCapabilities(ncCaptor.capture());
|
||||
|
||||
final VpnTransportInfo info =
|
||||
(VpnTransportInfo) ncCaptor.getValue().getTransportInfo();
|
||||
|
||||
Reference in New Issue
Block a user