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 5AUTHOR = "Aviv Keshet" 6NAME = "dummy_Fail.retry_alwaysflake" 7PURPOSE = "Demonstrate failure methods of autotests." 8CRITERIA = "This test will never succeed." 9ATTRIBUTES = "suite:dummyflake, suite:push_to_prod" 10SUITE = "dummyflake, push_to_prod" 11TIME = "SHORT" 12TEST_CATEGORY = "General" 13TEST_CLASS = "dummy" 14TEST_TYPE = "client" 15RETRIES = 5 16 17DOC = """ 18This is a dummy test that will be attempted 6 times, but always fail 19with TestFailRetry. 20""" 21 22job.run_test('dummy_Fail', tag='RetryFail', to_throw='TestFailRetry') 23job.run_test('dummy_Fail', tag='RetrySuccess', to_throw='TestFailRetry', 24 retry_success_count=RETRIES) 25