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
5AUTHOR = "cmasone, jrbarnette"
6NAME = "desktopui_CrashyReboot"
7TIME = "MEDIUM"
8TEST_TYPE = "client"
9
10DOC = """
11This test exercises the logic we put in place to reboot the device in the
12face of a too-crashy UI:
13
14If the UI crashes too much too fast, the device will eventually reboot
15to attempt to mitigate the problem. If the device determines that it's
16already tried that some number of times, it will shut down the UI and
17remain up.
18
19This test will crash the browser repeatedly and, in the case that it
20has not rebooted before, the test will cause the device to reboot. If
21it has rebooted within a certain window of time, the test will expect
22the device to stay up.
23
24This test cannot be used on its own, but is intended to be used in
25conjunction with the server-side desktopui_CrashyRebootServer test.
26"""
27
28job.run_test('desktopui_CrashyReboot')
29
30