1# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5AUTHOR = 'wiley, pstew, quiche'
6TIME = 'SHORT'
7NAME = 'network_WiFi_RetryConnectHidden'
8TEST_CATEGORY = 'Functional'
9TEST_CLASS = 'network'
10TEST_TYPE = 'Server'
11DOC = """
12This test run is designed to check that the connection manager
13re-scans a few times before quiescing after losing a connection.
14We simulate this by shutting off an AP in full sight of the
15DUT, waiting for a bit, and then re-instating the AP.  We choose
16a hidden AP since this requires the connection manager to do the
17scans (since only the connection manager knows to scan for them,
18as opposed to wpa_supplicant).
19
20"""
21
22
23def run(machine):
24    job.run_test('network_WiFi_RetryConnectHidden',
25                 host=hosts.create_host(machine),
26                 raw_cmdline_args=args)
27
28
29parallel_simple(run, machines)
30