1 # Copyright (c) 2013 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_3GStressEnable.pseudomodem" 7 PURPOSE = "Stress-test Connman enable/disable" 8 CRITERIA = """ 9 This test fails if flimflam ever fails to respond to a DBus message or crashes. 10 """ 11 ATTRIBUTES = "suite:network3g_pseudomodem" 12 TIME = "SHORT" 13 TEST_CATEGORY = "Stress" 14 TEST_CLASS = "network" 15 TEST_TYPE = "client" 16 17 DOC = """ 18 Stress-tests enabling and disabling a technology at short intervals. 19 """ 20 21 from autotest_lib.client.cros.cellular import test_environment 22 23 # 3GPP 24 test_env = test_environment.CellularPseudoMMTestEnvironment( 25 pseudomm_args=({'family': '3GPP'},)) 26 job.run_test('network_3GStressEnable', tag='pseudomodem_3GPP', 27 test_env=test_env) 28 29 # CDMA 30 test_env = test_environment.CellularPseudoMMTestEnvironment( 31 pseudomm_args=({'family': 'CDMA'},)) 32 job.run_test('network_3GStressEnable', tag='pseudomodem_CDMA', 33 test_env=test_env) 34