xref: /aosp_15_r20/external/autotest/client/site_tests/cellular_SafetyDance/control.pseudomodem (revision 9c5db1993ded3edbeafc8092d69fe5de2ee02df7)
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_SafetyDance.pseudomodem"
7PURPOSE = "Stress-test all connman 3G operations."
8CRITERIA = """
9This test will fail if any DBus call times out or flimflam crashes.
10"""
11TIME = "SHORT"
12TEST_CATEGORY = "Stress"
13TEST_CLASS = "network"
14TEST_TYPE = "client"
15PY_VERSION = 3
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('cellular_SafetyDance', test_env=test_env, tag='pseudomodem_3GPP')
30
31# CDMA
32test_env = test_environment.CellularPseudoMMTestEnvironment(
33        pseudomm_args=({'family': 'CDMA'},))
34job.run_test('cellular_SafetyDance', test_env=test_env, tag='pseudomodem_CDMA')
35