public class RetryTest
extends org.jboss.arquillian.testng.Arquillian
Constructor and Description |
---|
RetryTest() |
Modifier and Type | Method and Description |
---|---|
static org.jboss.shrinkwrap.api.spec.WebArchive |
deploy() |
void |
testClassLevelRetryMaxDuration()
Analogous to testRetryMaxDuration, testing whether the
@Retry annotation on method serviceB overrides the Class level
@Retry annotation. |
void |
testClassLevelRetryMaxDurationSeconds()
Analogous to testRetryMaxDurationSeconds, testing whether the
@Retry annotation on method serviceB overrides the Class level
@Retry annotation. |
void |
testClassLevelRetryMaxRetries()
Analogous to testRetryMaxRetries but using a Class level rather
than method level annotation.
|
void |
testRetryMaxDuration() |
void |
testRetryMaxDurationSeconds() |
void |
testRetryMaxRetries()
Test maxRetries.
|
void |
testRetryWithDelay() |
void |
testRetryWithNoDelayAndJitter()
Testing whether the
@Retry annotation on method serviceB overrides the Class level
@Retry annotation. |
@Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive deploy()
public void testRetryMaxRetries()
public void testRetryMaxDuration()
public void testRetryMaxDurationSeconds()
public void testRetryWithDelay()
public void testRetryWithNoDelayAndJitter()
@Retry
annotation on method serviceB overrides the Class level
@Retry
annotation.
Delay is 0 and jitter 400ms. Invocation takes 3200ms and effective delay must be between 0 and 400ms.public void testClassLevelRetryMaxRetries()
public void testClassLevelRetryMaxDuration()
@Retry
annotation on method serviceB overrides the Class level
@Retry
annotation.
Ensure that serviceB is executed more than the maxRetries of 2 specified at the Class level.public void testClassLevelRetryMaxDurationSeconds()
@Retry
annotation on method serviceB overrides the Class level
@Retry
annotation.
Ensure that serviceB is executed more than the maxRetries of 2 specified at the Class level.Copyright © 2020 Eclipse Foundation. All rights reserved.