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 5AUTHOR = "ChromeOS Team" 6NAME = "cellular_SuspendResumeStress.stress" 7PURPOSE = "Test 3g modem state after suspend/resume over many iterations" 8CRITERIA = """ 9 Check the 3g state of the device after many iterations of suspend/resume. 10 Verify that 3g can be enabled under all situations after resuming of device. 11 Verify that if autoconnect is turned on that the modem autoconnects 12 after resuming. 13""" 14TIME = "LONG" 15TEST_CATEGORY = "Stress" 16TEST_CLASS = "network" 17TEST_TYPE = "client" 18PY_VERSION = 3 19 20DOC = """ 21 Verify that 3g can be enabled under all suspend/resume situations. 22""" 23 24# Run all scenarios twice, first with autoconnect off, then with it on 25job.run_test('cellular_SuspendResume', 26 autoconnect=False, tag='autoconnect_off-stress', 27 scenario_group='stress', stress_iterations=100) 28job.run_test('cellular_SuspendResume', 29 autoconnect=True, tag='autoconnect_on-stress', 30 scenario_group='stress', stress_iterations=100) 31