org.apache.sling.commons.testing.junit
Annotation Type Retry


@Retention(value=RUNTIME)
public @interface Retry

Used to annotate JUnit tests as being retryable


Optional Element Summary
 int intervalMsec
          Wait this many milliseconds between retries
 int timeoutMsec
          Retries for at most this many milliseconds
 

timeoutMsec

public abstract int timeoutMsec
Retries for at most this many milliseconds

Default:
-1

intervalMsec

public abstract int intervalMsec
Wait this many milliseconds between retries

Default:
-1


Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.