public class BulkheadSynchRetryTest
extends org.jboss.arquillian.testng.Arquillian
Constructor and Description |
---|
BulkheadSynchRetryTest() |
Modifier and Type | Method and Description |
---|---|
static org.jboss.shrinkwrap.api.spec.WebArchive |
deploy()
This is the Arquillian deploy method that controls the contents of the
war that contains all the tests.
|
void |
testNoRetriesWithAbortOn()
Test that retries do not occur when BulkheadException is included in the abortOn attribute
|
void |
testNoRetriesWithMaxRetriesZero()
Test that with maxRetries = 0, bulkhead exceptions are not retried
|
void |
testNoRetriesWithoutRetryOn()
Test that retries do not occur when BulkheadException is not included in the retryOn attribute
|
void |
testRetryBulkheadExceptionClass()
Test that Bulkhead exceptions are retried with annotations on class
|
void |
testRetryBulkheadExceptionMethod()
Test that Bulkhead exceptions are retried with annotations on method
|
void |
testRetryTestExceptionClass()
Test Bulkhead + Retry when the method throws a business exception with annotations on class
|
void |
testRetryTestExceptionMethod()
Test Bulkhead + Retry when the method throws a business exception with annotations on method
|
@Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive deploy()
public void testRetryBulkheadExceptionMethod() throws InterruptedException
InterruptedException
public void testRetryBulkheadExceptionClass() throws InterruptedException
InterruptedException
public void testRetryTestExceptionClass() throws InterruptedException
Test that:
This second point is particularly important if Retry is used with a long delay.
InterruptedException
- if the test is interruptedpublic void testRetryTestExceptionMethod() throws InterruptedException
Test that:
This second point is particularly important if Retry is used with a long delay.
InterruptedException
- if the test is interruptedpublic void testNoRetriesWithoutRetryOn()
public void testNoRetriesWithAbortOn()
public void testNoRetriesWithMaxRetriesZero()
Copyright © 2020 Eclipse Foundation. All rights reserved.