diff options
author | Bindu Mahadev <bmahadev@google.com> | 2018-06-08 14:20:19 -0700 |
---|---|---|
committer | Bindu Mahadev <bmahadev@google.com> | 2018-06-08 14:23:32 -0700 |
commit | daf4f493317340c9c3b49176f36a93d4ce3385f4 (patch) | |
tree | 155824369f449fbae6e51861233d0aaec12b121e | |
parent | eeb293bf3cbaf297a94378857bee8eb885cb719e (diff) | |
download | platform_tools_test_connectivity-pie-dev.tar.gz platform_tools_test_connectivity-pie-dev.tar.bz2 platform_tools_test_connectivity-pie-dev.zip |
[Tests]Minor change in stress loop count.pie-dev
Bug: 109833251
Test: Local
Change-Id: I361f2fd83fd983dc2d9891a81aee33701b7bdebd
-rwxr-xr-x | acts/tests/google/wifi/WifiStressTest.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/acts/tests/google/wifi/WifiStressTest.py b/acts/tests/google/wifi/WifiStressTest.py index aee3d3b807..78608d7142 100755 --- a/acts/tests/google/wifi/WifiStressTest.py +++ b/acts/tests/google/wifi/WifiStressTest.py @@ -231,7 +231,7 @@ class WifiStressTest(WifiBaseTest): exhausted. """ - for count in range(self.stress_count): + for count in range(int(self.stress_count/4)): ssids = list() for network in self.networks: ssids.append(network[WifiEnums.SSID_KEY]) @@ -299,7 +299,7 @@ class WifiStressTest(WifiBaseTest): if initial_wifi_state != cur_wifi_state: raise signals.TestFailure("Wifi state was %d before softAP and %d now!" % (initial_wifi_state, cur_wifi_state), - extras={"Iterations":"%d" % self.stres_count, + extras={"Iterations":"%d" % self.stress_count, "Pass":"%d" %count}) raise signals.TestPass(details="", extras={"Iterations":"%d" % self.stress_count, "Pass":"%d" %(count+1)}) |