1# Copyright (c) 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_ValidateTestEnvironment.docomo" 7PURPOSE = "Verify that the test setup common to all other tests has no failures." 8CRITERIA = """ 9 Check that no errors occur when the setup and tear down of the 10 base class CellularTestEnvironment is executed multiple times. 11""" 12ATTRIBUTES = "suite:cellular_ota_flaky" 13TIME = "SHORT" 14TEST_CATEGORY = "Functional" 15TEST_CLASS = "network" 16TEST_TYPE = "client" 17DEPENDENCIES = "carrier:docomo" 18PY_VERSION = 3 19 20DOC = """ 21 Verify that the test setup common to all other tests has no failures. 22""" 23 24from autotest_lib.client.cros.cellular import test_environment 25 26ITERATIONS_PER_TEST=3 27 28test_env = test_environment.CellularTestEnvironment(enable_temp_containments=False) 29job.run_test('cellular_ValidateTestEnvironment', 30 tag='Base', 31 test_env=test_env, 32 iterations=ITERATIONS_PER_TEST) 33 34test_env = test_environment.CellularOTATestEnvironment(enable_temp_containments=False) 35job.run_test('cellular_ValidateTestEnvironment', 36 tag='OTA', 37 test_env=test_env, 38 iterations=ITERATIONS_PER_TEST) 39