1 # Copyright (c) 2011 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" 6 NAME = "desktopui_KillRestart" 7 PURPOSE = "Verify Chrome is automatically restarted if it dies." 8 CRITERIA = "This test will fail if Chrome is not restarted after it is killed." 9 ATTRIBUTES = "suite:bvt-inline, suite:smoke" 10 SUITE = "bvt-inline, smoke" 11 TIME = "SHORT" 12 TEST_CATEGORY = "Functional" 13 TEST_CLASS = "desktopui" 14 TEST_TYPE = "client" 15 JOB_RETRIES = 2 16 17 DOC = """ 18 This test kills some important processes and checks if they get restarted." 19 """ 20 21 job.run_test('desktopui_KillRestart', binary='^chrome$', tag='chrome') 22 job.run_test('desktopui_KillRestart', binary='^session_manager$', tag='session') 23