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 5 from autotest_lib.server import utils 6 7 AUTHOR = "mzhuo (a] chromium.org" 8 NAME = "enterprise_CFM_MimoSanity.hangout_app" 9 TIME = "LONG" 10 TEST_CATEGORY = "Functional" 11 TEST_CLASS = "enterprise" 12 TEST_TYPE = "server" 13 ATTRIBUTES = "suite:bluestreak" 14 DEPENDENCIES = "mimo, hangout_app, atrus, huddly" 15 JOB_RETRIES = 3 16 17 DOC = """ 18 This test consistens of 3 steps to that verify the MIMO is always availble to 19 the CFM. It verifies: 20 1.) that the MIMO is available after a CFM reboot 21 2.) that the MIMO is available after joining and leaving a hangout 22 3.) that the MIMO is available after being power cycled from the USB level 23 24 "Available" means that the MIMO is visible on the system/USB level. 25 """ 26 27 args_dict = utils.args_to_dict(args) 28 servo_args = hosts.CrosHost.get_servo_arguments(args_dict) 29 30 def run_test(machine): 31 repetitions = int(args_dict.get('repetitions', 3)) 32 host = hosts.create_host(machine, servo_args=servo_args) 33 job.run_test('enterprise_CFM_MimoSanity', host=host, 34 repetitions=repetitions, is_meeting=False, tag='hangout_app') 35 36 parallel_simple(run_test, machines) 37