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