blob: 9a97ac9469cf016977cabdaf7bc473032058dd50 [file] [log] [blame]
# Copyright 2023 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Description
# This test runs a load test consisting of cycling though web pages, playing
# videos, etc. and measures battery power draw. The duration of this test is
# determined by loop_time * loop_cnt.
#
# This version of test allows:
# - AC is connected.
# - Ethernet is connected.
# - Use web caching
#
# This control file is simply meant to stimulate the various aspects of the test
# to validate mechanics are in good health (login, external website access).
#
# For reasons above and reduced runtime (5min) it will NOT produce valid power
# results for the 60/20/10/10 load and therefore should NOT be used
# for any battery life estimations.
NAME = "power_LoadTest.v11_fast"
METADATA = {
"contacts": ["cros-power-notifications@google.com"],
"bug_component": "b:1361410",
"criteria": "This test is a benchmark test",
"hw_agnostic": False,
}
# ATTRIBUTES = "suite:power_daily_load_test_v11"
TEST_TYPE = "client"
loop_time = 300
loop_count = 1
args_dict = utils.args_to_dict(args)
pdash_note = args_dict.get('pdash_note', '')
job.run_test('power_LoadTest', loop_time=loop_time, loop_count=loop_count,
test_low_batt_p=6, force_discharge='optional',
check_network=False, tag=NAME.split('.')[1],
tast_bundle_path=args_dict.get('tast_bundle_path'),
pdash_note=pdash_note, web_caching=True)