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" 18 19DOC = """ 20 Verify that 3g can be enabled under all suspend/resume situations. 21""" 22 23# Run all scenarios twice, first with autoconnect off, then with it on 24job.run_test('cellular_SuspendResume', 25 autoconnect=False, tag='autoconnect_off-stress', 26 scenario_group='stress', stress_iterations=100) 27job.run_test('cellular_SuspendResume', 28 autoconnect=True, tag='autoconnect_on-stress', 29 scenario_group='stress', stress_iterations=100) 30