xref: /aosp_15_r20/external/autotest/client/site_tests/power_LoadTest/control.eth_1hour (revision 9c5db1993ded3edbeafc8092d69fe5de2ee02df7)
1# Copyright (c) 2018 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 = "power_LoadTest.eth_1hour"
7ATTRIBUTES = ""
8PURPOSE = "Measure power draw when system is under load."
9CRITERIA = "This test is a benchmark."
10TIME = "LENGTHY"
11TEST_CATEGORY = "Benchmark"
12TEST_CLASS = "power"
13TEST_TYPE = "client"
14EXTENDED_TIMEOUT = 4500
15PY_VERSION = 3
16
17DOC = """
18This test runs a load test consisting of cycling though web pages, playing
19videos, etc. and measures battery power draw. The maximum duration of this test
20in seconds is determined by the loop_time * loop_cnt.
21"""
22loop_time = 3600
23loop_count = 1
24
25# Run this test to verify PLT on systems where wlan is not properly running
26# yet.
27args_dict = utils.args_to_dict(args)
28pdash_note = args_dict.get('pdash_note', '')
29job.run_test('power_LoadTest', loop_time=loop_time, loop_count=loop_count,
30             test_low_batt_p=6, check_network=False, tag=NAME.split('.')[1],
31             pdash_note=pdash_note)
32