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 5 AUTHOR = "Chrome OS Team" 6 NAME = "power_LoadTest.WIRED_1hr_acok" 7 ATTRIBUTES = "suite:power_daily" 8 PURPOSE = "Measure power draw when system is under load." 9 CRITERIA = "This test is a benchmark." 10 TIME = "LONG" 11 TEST_CATEGORY = "Benchmark" 12 TEST_CLASS = "power" 13 TEST_TYPE = "client" 14 15 DOC = """ 16 This test runs a load test consisting of cycling though web pages, playing 17 videos, etc. and measures battery power draw. The maximum duration of this test 18 in seconds is determined by the loop_time * loop_cnt. 19 """ 20 loop_time = 3600 21 loop_count = 1 22 23 job.run_test('power_LoadTest', loop_time=loop_time, loop_count=loop_count, 24 test_low_batt_p=6, ac_ok=True, check_network=False, 25 tag='WIRED_1hr_acok') 26