blob: 1111dba2224b3f675a995e428687425619a17620 [file] [log] [blame]
# Copyright (c) 2012 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 = "stanleyw@google.com"
NAME = "network_WiFiInteropChaos"
TIME = "LENGTHY"
TEST_TYPE = "Server"
DOC = """
This test attempts to connect to all the ap's as as defined in the
configuration file wifi_interop_ap_list.conf
"""
from autotest_lib.server import packet_capture
from autotest_lib.server.cros.chaos_config import ChaosAPList
def run(machine):
host = hosts.create_host(machine)
ap_config = ChaosAPList()
with packet_capture.PacketCaptureManager() as capturer:
capturer.allocate_packet_capture_machine()
for ap in ap_config:
job.run_test("network_WiFiInteropChaos", host=host, ap=ap,
capturer=capturer, tries=10, tag=ap.get_bss())
parallel_simple(run, machines)