1 # Copyright 2017 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 = 'briannorris' 6 NAME = 'network_WiFi_Reset' 7 TIME = 'SHORT' 8 MAX_RESULT_SIZE_KB = 512000 9 TEST_TYPE = 'Server' 10 DEPENDENCIES = 'wificell' 11 ATTRIBUTES = ('suite:wifi_matfunc') 12 13 DOC = """ 14 This test verifies that if a network device can be reset from user space, that 15 it will connect to the network correctly after being reset a few times. We also 16 run through a few system suspend/resume cycles in between, for completeness. 17 Only supports select drivers at the moment, but will report TestNA for 18 unsupported devices. 19 """ 20 21 def run(machine): 22 host = hosts.create_host(machine) 23 job.run_test('network_WiFi_Reset', 24 host=host, 25 raw_cmdline_args=args) 26 27 parallel_simple(run, machines) 28