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 5AUTHOR = "ChromeOS Team" 6NAME = "cellular_Smoke.gobi3k" 7PURPOSE = "Verify 3G modem can connect to the network." 8CRITERIA = """ 9This test will fail if one of the following conditions occur: 10 - 3G modem fails to connect to network 11 - the modem is not left in a working state 12""" 13TIME = "SHORT" 14TEST_CATEGORY = "Functional" 15TEST_CLASS = "network" 16TEST_TYPE = "client" 17ATTRIBUTES = "suite:cellular_ota_tmobile, suite:cellular_ota_verizon" 18DEPENDENCIES = "modem:gobi3k" 19 20# TODO(crbug.com/932661) Fix the root cause of the flakiness and 21# remove this hack. 22JOB_RETRIES=3 23 24DOC = """ 25 Tests that 3G modem can connect to the network 26 27 The test attempts to connect using the 3G network. It assumes that 28 a 3G modem is plugged in and has a signal. The test then 29 disconnects from the network, and verifies that the modem still 30 responds to modem manager DBUS API calls. It repeats the 31 connect/disconnect sequence several times. 32""" 33 34from autotest_lib.client.cros.cellular import test_environment 35 36test_env = test_environment.CellularOTATestEnvironment() 37job.run_test('cellular_Smoke', tag='gobi3k', test_env=test_env) 38