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