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_alwaysflake" 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 test that will be attempted 6 times, but always fail 18 with TestFailRetry. 19 """ 20 21 job.run_test('dummy_Fail', tag='RetryFail', to_throw='TestFailRetry') 22 job.run_test('dummy_Fail', tag='RetrySuccess', to_throw='TestFailRetry', 23 retry_success_count=RETRIES) 24