1# Copyright 2017 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 5from autotest_lib.server import utils 6 7AUTHOR = "harpreet@chromium.org" 8NAME = "enterprise_CFM_RebootStress.meet_app" 9TIME = "SHORT" 10TEST_CATEGORY = "Functional" 11TEST_CLASS = "enterprise" 12TEST_TYPE = "server" 13ATTRIBUTES = "suite:hotrod-remora" 14JOB_RETRIES = 3 15 16DOC = """ 17This test clears the TPM, enrolls the device into CFM, launches the Meet app and 18stress tests by rebooting the device multiple times using Chrome runtime 19restart() API. It clear the TPM at the end of the test to reset the device. 20""" 21 22def run_test(machine): 23 host = hosts.create_host(machine) 24 job.run_test('enterprise_CFM_RebootStress', 25 host=host, 26 reboot_cycles=25, 27 is_meeting=True, 28 tag='meet_app') 29 30 31parallel_simple(run_test, machines) 32