1 // Copyright 2016 The Chromium 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 package org.chromium.base.test.util; 6 7 import java.lang.annotation.ElementType; 8 import java.lang.annotation.Retention; 9 import java.lang.annotation.RetentionPolicy; 10 import java.lang.annotation.Target; 11 12 /** 13 * This annotation is for flaky tests. 14 * <p> 15 * Tests with this annotation will not be run on any of the normal bots. 16 * Please note that they might eventually run on a special bot. 17 */ 18 @Target({ElementType.METHOD, ElementType.TYPE}) 19 @Retention(RetentionPolicy.RUNTIME) 20 public @interface FlakyTest { message()21 String message() default ""; 22 } 23