Merge "Move the NetworkStack tests to unit/ to add an integration test." into qt-dev

am: 35dd095a4f

Change-Id: If5881cf6cef339f76b1ab914bb45f6f4b87e1577
This commit is contained in:
Remi NGUYEN VAN
2019-05-23 05:24:46 -07:00
committed by android-build-merger
21 changed files with 1 additions and 0 deletions

View File

@@ -297,6 +297,7 @@ public class NetworkMonitorTest {
setOtherFallbackUrls(TEST_OTHER_FALLBACK_URL);
setFallbackSpecs(null); // Test with no fallback spec by default
when(mRandom.nextInt()).thenReturn(0);
// DNS probe timeout should not be defined more than half of HANDLER_TIMEOUT_MS. Otherwise,
// it will fail the test because of timeout expired for querying AAAA and A sequentially.
when(mResources.getInteger(eq(R.integer.config_captive_portal_dns_probe_timeout)))