1# Copyright (c) 2010 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_ConnectFailure"
7PURPOSE = "Verify that a failed modem connect attempt puts the service in a failed state."
8CRITERIA = """
9This test will fail if a connect failure does not immediately cause the
10service to enter the Failed state.
11"""
12TIME = "SHORT"
13TEST_CATEGORY = "Functional"
14TEST_CLASS = "network"
15TEST_TYPE = "client"
16
17DOC = """
18  Tests that 3G connect failures are handled by cromo & flimflam properly
19
20  This test will fail if a connect failure does not immediately cause the
21  service to enter the Failed state.  It requires a machine with a modem
22  that has been factory reset and cannot start a data session.
23"""
24
25from autotest_lib.client.cros.cellular import test_environment
26
27test_env = test_environment.CellularOTATestEnvironment()
28job.run_test('cellular_ConnectFailure', test_env=test_env)
29