xref: /aosp_15_r20/external/autotest/client/site_tests/cellular_SuspendResume/control.amarisoft (revision 9c5db1993ded3edbeafc8092d69fe5de2ee02df7)
1# Copyright 2022 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_SuspendResume.amarisoft"
7PURPOSE = "Test cellular modem state after suspend/resume"
8CRITERIA = """
9    Check the cellular modem state of the device after suspend and resume.
10    Verify that cellular_modem can be enabled under all situations after resuming of device from suspend state.
11    Verify if modem autoconnects after resuming when autoconnect is turned ON.
12"""
13ATTRIBUTES = "suite:cellular_ota_flaky"
14TIME = "SHORT"
15TEST_CATEGORY = "Functional"
16TEST_CLASS = "network"
17TEST_TYPE = "client"
18DEPENDENCIES = "carrier:amarisoft"
19PY_VERSION = 3
20
21DOC = """
22    Verify that cellular_modem can be enabled under all suspend/resume scenarios.
23"""
24
25# Run all scenarios twice, first with autoconnect off, then with it on
26job.run_test('cellular_SuspendResume',
27             autoconnect=False, tag='autoconnect_off')
28job.run_test('cellular_SuspendResume',
29             autoconnect=True, tag='autoconnect_on')
30