1 # Copyright (c) 2010 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 = "Aviv Keshet" 6 NAME = "dummy_Fail.retry_alwaysfail" 7 PURPOSE = "Demonstrate failure methods of autotests." 8 CRITERIA = "This test will never succeed." 9 ATTRIBUTES = "suite:dummyflake, suite:push_to_prod" 10 TIME = "SHORT" 11 TEST_CATEGORY = "General" 12 TEST_CLASS = "dummy" 13 TEST_TYPE = "client" 14 RETRIES = 5 15 16 DOC = """ 17 This is a dummy that will fail after the first attempt, despite 18 having a non-zero RETRIES value. 19 """ 20 21 job.run_test('dummy_Fail', tag='Fail', to_throw='TestFail') 22 23