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 = "network_3GSafetyDance.pseudomodem"
7PURPOSE = "Stress-test all connman 3G operations."
8CRITERIA = """
9This test will fail if any DBus call times out or flimflam crashes.
10"""
11ATTRIBUTES = "suite:network3g_pseudomodem"
12SUITE = "network3g_pseudomodem"
13TIME = "SHORT"
14TEST_CATEGORY = "Stress"
15TEST_CLASS = "network"
16TEST_TYPE = "client"
17
18DOC = """
19  Stress-tests all connman 3G operations.
20
21  This test runs a long series of 3G operations in pseudorandom order. All of
22  these 3G operations must return a convincing result (EINPROGRESS or no error).
23"""
24
25from autotest_lib.client.cros.cellular import test_environment
26
27# 3GPP
28test_env = test_environment.CellularPseudoMMTestEnvironment(
29        pseudomm_args=({'family': '3GPP'},))
30job.run_test('network_3GSafetyDance', test_env=test_env, tag='pseudomodem_3GPP')
31
32# CDMA
33test_env = test_environment.CellularPseudoMMTestEnvironment(
34        pseudomm_args=({'family': 'CDMA'},))
35job.run_test('network_3GSafetyDance', test_env=test_env, tag='pseudomodem_CDMA')
36