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