• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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"
12TIME = "SHORT"
13TEST_CATEGORY = "Stress"
14TEST_CLASS = "network"
15TEST_TYPE = "client"
16
17DOC = """
18  Stress-tests all connman 3G operations.
19
20  This test runs a long series of 3G operations in pseudorandom order. All of
21  these 3G operations must return a convincing result (EINPROGRESS or no error).
22"""
23
24from autotest_lib.client.cros.cellular import test_environment
25
26# 3GPP
27test_env = test_environment.CellularPseudoMMTestEnvironment(
28        pseudomm_args=({'family': '3GPP'},))
29job.run_test('network_3GSafetyDance', test_env=test_env, tag='pseudomodem_3GPP')
30
31# CDMA
32test_env = test_environment.CellularPseudoMMTestEnvironment(
33        pseudomm_args=({'family': 'CDMA'},))
34job.run_test('network_3GSafetyDance', test_env=test_env, tag='pseudomodem_CDMA')
35