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 = "cellular_SafetyDance.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:cellular_pseudomodem" 12 TIME = "SHORT" 13 TEST_CATEGORY = "Stress" 14 TEST_CLASS = "network" 15 TEST_TYPE = "client" 16 17 DOC = """ 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 24 from autotest_lib.client.cros.cellular import test_environment 25 26 # 3GPP 27 test_env = test_environment.CellularPseudoMMTestEnvironment( 28 pseudomm_args=({'family': '3GPP'},)) 29 job.run_test('cellular_SafetyDance', test_env=test_env, tag='pseudomodem_3GPP') 30 31 # CDMA 32 test_env = test_environment.CellularPseudoMMTestEnvironment( 33 pseudomm_args=({'family': 'CDMA'},)) 34 job.run_test('cellular_SafetyDance', test_env=test_env, tag='pseudomodem_CDMA') 35