blob: bba10de0aa43f92109a56d062d3ac17ae0cca875 [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:
tag = '.'.join([ap.get_ssid(), ap.get_bss()])
job.run_test("network_WiFiInteropChaos", host=host, ap=ap,
capturer=capturer, tries=25, tag=tag)
parallel_simple(run, machines)