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