| # Copyright (c) 2013 The Chromium OS Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| AUTHOR = "tgao@chromium.org" |
| NAME = "network_WiFiChaosPSK" |
| TIME = "LONG" |
| TEST_CATEGORY = "Functional" |
| TEST_CLASS = "network" |
| TEST_TYPE = "server" |
| |
| DOC = """ |
| This script iterates through all of the access points in the AP compatibility |
| lab which supports PSK security and has a chrome device connect to each in |
| series. This test must be performed in the AP compatibility lab. |
| """ |
| |
| from autotest_lib.server.cros.chaos_lib import chaos_interop_test |
| |
| |
| def run_chaos_psk(machine): |
| host = hosts.create_host(machine) |
| helper = chaos_interop_test.WifiChaosTest('network_WiFiChaosPSK', host) |
| helper.run(job, ap_spec={}, batch_size=15, tries=10) |
| |
| parallel_simple(run_chaos_psk, machines) |