public class DisableAnnotationGloballyEnableOnMethodTest
extends org.jboss.arquillian.testng.Arquillian
Constructor and Description |
---|
DisableAnnotationGloballyEnableOnMethodTest() |
Modifier and Type | Method and Description |
---|---|
static org.jboss.shrinkwrap.api.spec.WebArchive |
deploy() |
void |
testAsync()
A test to check that asynchronous is enabled
|
void |
testBulkhead()
Test whether Bulkhead is enabled on
waitWithBulkhead() |
void |
testCircuitBreaker()
CircuitBreaker is enabled on the method so the policy should be applied
|
void |
testFallbackDisabled()
Test that a Fallback service is used when service fails.
|
void |
testRetryEnabled()
failAndRetryOnce is annotated with maxRetries = 1 so it is expected to execute 2 times.
|
void |
testTimeout()
Test Timeout is enabled, should fail with a timeout exception
|
public DisableAnnotationGloballyEnableOnMethodTest()
@Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive deploy()
public void testRetryEnabled()
public void testFallbackDisabled()
public void testCircuitBreaker()
public void testTimeout()
public void testAsync() throws InterruptedException, ExecutionException
InterruptedException
- interruptedExecutionException
- task was abortedpublic void testBulkhead() throws ExecutionException, InterruptedException
waitWithBulkhead()
InterruptedException
- interruptedExecutionException
- task was abortedCopyright © 2016 – 2021 Eclipse Foundation. All rights reserved.
Use is subject to license terms.