1# Copyright (c) 2013 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 5NAME = "desktopui_CrashyRebootServer" 6AUTHOR = "cmasone, jrbarnette" 7ATTRIBUTES = "suite:gpu_hang" 8TIME = "MEDIUM" 9TEST_TYPE = "server" 10 11DOC = """ 12This test verifies that the logic we put in place to reboot the device in the 13face of a too-crashy UI functions as intended: 14 15If the UI crashes too much too fast, the device will eventually reboot 16to attempt to mitigate the problem. If the device determines that it's 17already tried that some number of times, it will shut down the UI and 18remain up. 19 20This test deploys the client test desktop_CrashyReboot in order to drive the 21device into the desired states. 22""" 23 24def run_bootperf(machine): 25 host = hosts.create_host(machine) 26 job.run_test("desktopui_CrashyRebootServer", host=host) 27 28parallel_simple(run_bootperf, machines) 29