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 SUITE = "network3g_pseudomodem" 13 TIME = "SHORT" 14 TEST_CATEGORY = "Stress" 15 TEST_CLASS = "network" 16 TEST_TYPE = "client" 17 18 DOC = """ 19 Stress-tests enabling and disabling a technology at short intervals. 20 """ 21 22 from autotest_lib.client.cros.cellular import test_environment 23 24 # 3GPP 25 test_env = test_environment.CellularPseudoMMTestEnvironment( 26 pseudomm_args=({'family': '3GPP'},)) 27 job.run_test('network_3GStressEnable', tag='pseudomodem_3GPP', 28 test_env=test_env) 29 30 # CDMA 31 test_env = test_environment.CellularPseudoMMTestEnvironment( 32 pseudomm_args=({'family': 'CDMA'},)) 33 job.run_test('network_3GStressEnable', tag='pseudomodem_CDMA', 34 test_env=test_env) 35