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 5 AUTHOR = 'wiley, pstew, quiche' 6 TIME = 'SHORT' 7 NAME = 'network_WiFi_RetryConnectHidden' 8 TEST_CATEGORY = 'Functional' 9 TEST_CLASS = 'network' 10 TEST_TYPE = 'Server' 11 DOC = """ 12 This test run is designed to check that the connection manager 13 re-scans a few times before quiescing after losing a connection. 14 We simulate this by shutting off an AP in full sight of the 15 DUT, waiting for a bit, and then re-instating the AP. We choose 16 a hidden AP since this requires the connection manager to do the 17 scans (since only the connection manager knows to scan for them, 18 as opposed to wpa_supplicant). 19 20 """ 21 22 23 def run(machine): 24 job.run_test('network_WiFi_RetryConnectHidden', 25 host=hosts.create_host(machine), 26 raw_cmdline_args=args) 27 28 29 parallel_simple(run, machines) 30