commit | 2cefbc6b61a95b05b41d999ef5e8803b2b208b8f | [log] [tgz] |
---|---|---|
author | Andres Oportus <andresoportus@google.com> | Thu Jan 19 09:09:30 2017 -0800 |
committer | Andres Oportus <andresoportus@google.com> | Thu Jan 19 09:32:26 2017 -0800 |
tree | 38333bccfb1fd326ddd77863cb6a8b4542c082d6 | |
parent | b7c6333548cfba65349d500d5d94d138acbcfeac [diff] |
Do not turn Wifi off for sustained performance test Turning Wifi off does not significantly affect the output of this test, airplane mode is used duing the test. Turning Wifi off without restoring was causing other tests that expect Wifi on to fail, tests should not change the global system state. Bug: 34178572 Change-Id: Ia3a1388d768689c30af2e789861d9a85d36aa7b0 Signed-off-by: Andres Oportus <andresoportus@google.com>
diff --git a/hostsidetests/sustainedperf/src/android/SustainedPerformance/cts/SustainedPerformanceHostTest.java b/hostsidetests/sustainedperf/src/android/SustainedPerformance/cts/SustainedPerformanceHostTest.java index 1b474a0..683aded 100644 --- a/hostsidetests/sustainedperf/src/android/SustainedPerformance/cts/SustainedPerformanceHostTest.java +++ b/hostsidetests/sustainedperf/src/android/SustainedPerformance/cts/SustainedPerformanceHostTest.java
@@ -157,7 +157,6 @@ } private void setUpEnvironment() throws Exception { - device.disconnectFromWifi(); dhryMin = Double.MAX_VALUE; dhryMax = Double.MIN_VALUE; Thread.sleep(600000);