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 NAME = 'network_WiFi_SuspendTwice' 7 TIME = 'SHORT' 8 TEST_TYPE = 'Server' 9 # TODO(wiley) When we have servos on our test machines, put this in 10 # wifi_matfunc, wifi_matfunc_bcm4371 11 # Currently, it kills to many device on broken suspends. 12 DEPENDENCIES = 'wificell' 13 14 DOC = """ 15 The ath9k driver had a bug where the the WiFi hardware would hang 16 if we suspended and resumed twice while WiFi was disabled. Run 17 this test to make sure we never regress. Try to run this late 18 in the cycle so if this test fails, we don't take other tests with 19 us. 20 21 """ 22 23 24 def run(machine): 25 job.run_test('network_WiFi_SuspendTwice', 26 host=hosts.create_host(machine), 27 raw_cmdline_args=args) 28 29 30 parallel_simple(run, machines) 31