blob: 074fd7b532a5f7791625d1dc647dcb4c8f0106ef [file] [log] [blame]
# Copyright 2018 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from autotest_lib.server.cros.cfm.configurable_test.dsl import *
from autotest_lib.server import utils
AUTHOR = "malmnas@google.com, chromeos-meetings@google.com"
NAME = "enterprise_CFM_MeetingRoomScenario.idle_on_landing_page"
PURPOSE = "Tests what happens when CfM stays idle on landing page."
CRITERIA = "No unexpected resource leakes."
ATTRIBUTES = "suite:hotrod"
TIME = "LONG"
TEST_CATEGORY = "Functional"
TEST_TYPE = "server"
DOC = """
Stay idle on the landing page for a long time.
"""
cfm_test = CfmTest(
scenario=Scenario(
RebootDut(restart_chrome_for_cfm=True),
WaitForMeetingsLandingPage(),
Sleep(60),
),
)
args_dict = utils.args_to_dict(args)
servo_args = hosts.CrosHost.get_servo_arguments(args_dict)
def run_test(machine):
job.run_test("enterprise_CFM_MeetingRoomScenario",
cfm_test = cfm_test,
tag = 'idle_on_landing_page',
host = hosts.create_host(machine, servo_args=servo_args))
parallel_simple(run_test, machines)