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