PlaybackOnly Interface
Implements
public interface PlaybackOnly
implements Annotation
Annotation to mark tests that should only be run in PLAYBACK test mode.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract String |
expiryTime()
The expiry time of the PLAYBACK annotation in yyyy-MM-dd format. |
Method Details
expiryTime
public abstract String expiryTime()
The expiry time of the PLAYBACK annotation in yyyy-MM-dd format.
If the expiry time is not set, the test will only run in PLAYBACK mode.
If the expiry time is set, the test will begin to fail instead of being skipped once the expiry time has passed. For example, if the expiry time is set to 2020-01-01, the test will be skipped in PLAYBACK mode until 2020-01-01. After 2020-01-01, the test will fail in PLAYBACK mode until the test is re-enabled.
Returns:
Applies to
Azure SDK for Java