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