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 5 AUTHOR = "ChromeOS Team" 6 NAME = "network_3GSafetyDance.pseudomodem" 7 PURPOSE = "Stress-test all connman 3G operations." 8 CRITERIA = """ 9 This test will fail if any DBus call times out or flimflam crashes. 10 """ 11 ATTRIBUTES = "suite:network3g_pseudomodem" 12 SUITE = "network3g_pseudomodem" 13 TIME = "SHORT" 14 TEST_CATEGORY = "Stress" 15 TEST_CLASS = "network" 16 TEST_TYPE = "client" 17 18 DOC = """ 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 25 from autotest_lib.client.cros.cellular import test_environment 26 27 # 3GPP 28 test_env = test_environment.CellularPseudoMMTestEnvironment( 29 pseudomm_args=({'family': '3GPP'},)) 30 job.run_test('network_3GSafetyDance', test_env=test_env, tag='pseudomodem_3GPP') 31 32 # CDMA 33 test_env = test_environment.CellularPseudoMMTestEnvironment( 34 pseudomm_args=({'family': 'CDMA'},)) 35 job.run_test('network_3GSafetyDance', test_env=test_env, tag='pseudomodem_CDMA') 36