public class BulkheadAsynchRetryTest
extends org.jboss.arquillian.testng.Arquillian
Constructor and Description |
---|
BulkheadAsynchRetryTest() |
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 |
testBulkheadExceptionRetriedClassAsync()
Test that bulkhead exceptions are retried with annotations on class
|
void |
testBulkheadExceptionRetriedMethodAsync()
Test that bulkhead exceptions are retried with annotations on method
|
void |
testBulkheadExceptionThrownClassAsync()
Test that we still get BulkheadExceptions despite using Retry if the bulkhead
remains full while the retry is active.
|
void |
testBulkheadExceptionThrownMethodAsync()
Test that we still get BulkheadExceptions despite using Retry if the bulkhead
remains full while the retry is active.
|
void |
testNoRetriesWithAbortOn()
Test that retries do not occur when BulkheadException is included in the abortOn attribute
|
void |
testNoRetriesWithoutRetryOn()
Test that retries do not occur when BulkheadException is not included in the retryOn attribute
|
void |
testRetriesJoinBackOfQueue()
Test that when an execution is retried, it goes to the back of the bulkhead queue.
|
void |
testRetriesReenterBulkhead()
Test that when an execution is retried, it doesn't hold onto its bulkhead slot.
|
@Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive deploy()
public void testBulkheadExceptionThrownClassAsync()
public void testBulkheadExceptionThrownMethodAsync()
public void testBulkheadExceptionRetriedMethodAsync()
public void testBulkheadExceptionRetriedClassAsync()
public void testRetriesReenterBulkhead()
This is particularly important if Retry is used with a long delay.
public void testRetriesJoinBackOfQueue()
public void testNoRetriesWithoutRetryOn() throws InterruptedException
InterruptedException
- if the test is interruptedpublic void testNoRetriesWithAbortOn() throws InterruptedException
InterruptedException
- if the test is interruptedCopyright © 2020 Eclipse Foundation. All rights reserved.