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" 10TIME = "SHORT" 11TEST_CATEGORY = "General" 12TEST_CLASS = "dummy" 13TEST_TYPE = "client" 14RETRIES = 5 15 16DOC = """ 17This is a dummy test that will be attempted 6 times, but always fail 18with TestFailRetry. 19""" 20 21job.run_test('dummy_Fail', tag='RetryFail', to_throw='TestFailRetry') 22job.run_test('dummy_Fail', tag='RetrySuccess', to_throw='TestFailRetry', 23 retry_success_count=RETRIES) 24