1# Copyright (c) 2016 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.WIRED_10min_acok" 7ATTRIBUTES = "suite:power_daily" 8PURPOSE = "Measure power draw when system is under load." 9CRITERIA = "This test is a benchmark." 10TIME = "LONG" 11TEST_CATEGORY = "Benchmark" 12TEST_CLASS = "power" 13TEST_TYPE = "client" 14PY_VERSION = 3 15 16DOC = """ 17This test runs a load test consisting of cycling though web pages, playing 18videos, etc. and measures battery power draw. The maximum duration of this test 19in seconds is determined by the loop_time * loop_cnt. 20""" 21loop_time = 600 22loop_count = 1 23 24args_dict = utils.args_to_dict(args) 25pdash_note = args_dict.get('pdash_note', '') 26job.run_test('power_LoadTest', loop_time=loop_time, loop_count=loop_count, 27 test_low_batt_p=6, ac_ok=True, check_network=False, 28 tag=NAME.split('.')[1], pdash_note=pdash_note) 29