Home | History | Annotate | Download | only in network_MobileSuspendResume
      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 
      5 AUTHOR = "ChromeOS Team"
      6 NAME = "network_MobileSuspendResumeStress.stress"
      7 PURPOSE = "Test 3g modem state after suspend/resume over many iterations"
      8 CRITERIA = """
      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 """
     14 TIME = "LONG"
     15 TEST_CATEGORY = "Stress"
     16 TEST_CLASS = "network"
     17 TEST_TYPE = "client"
     18 
     19 DOC = """
     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
     24 job.run_test('network_MobileSuspendResume',
     25              autoconnect=False, tag='autoconnect_off-stress',
     26              scenario_group='stress', stress_iterations=100)
     27 job.run_test('network_MobileSuspendResume',
     28              autoconnect=True, tag='autoconnect_on-stress',
     29              scenario_group='stress', stress_iterations=100)
     30