1 # Copyright (c) 2012 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 = "ChromeOS Team" 6 NAME = "network_3GRecoverFromGobiDesync.gobi2k" 7 PURPOSE = "Verify that gobi-cromo-plugin recovers from driver failures" 8 ATTRIBUTES = "suite:network3g" 9 SUITE = "network3g" 10 TIME = "SHORT" 11 TEST_CATEGORY = "Functional" 12 TEST_CLASS = "network" 13 TEST_TYPE = "client" 14 DEPENDENCIES = "modem:gobi2k" 15 16 DOC = """ 17 Tests that a Gobi modem recovers from driver failures 18 19 This test uses fault injection to make gobi-cromo-plugin act as if 20 the userspace has lost sync with the driver. The correct behavior 21 is for cromo to exit. 22 23 """ 24 25 from autotest_lib.client.cros.cellular import test_environment 26 27 test_env = test_environment.CellularOTATestEnvironment(modem_pattern='Gobi') 28 job.run_test('network_3GRecoverFromGobiDesync', test_env=test_env, tag='gobi2k') 29