public class FaultToleranceInterceptorTest
extends org.jboss.arquillian.testng.Arquillian
Constructor and Description |
---|
FaultToleranceInterceptorTest() |
Modifier and Type | Method and Description |
---|---|
void |
clearResources() |
static org.jboss.shrinkwrap.api.spec.WebArchive |
deploy() |
void |
testAsync()
This test validates the interceptors execution order after call a method annotated with Asynchronous FT
annotation, using a queue type FIFO (first-in-first-out).
|
void |
testRetryInterceptors() |
@Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive deploy()
public void testAsync() throws InterruptedException, ExecutionException
InterruptedException
- if the current thread was interrupted while waitingExecutionException
- if the computation threw an exceptionpublic void testRetryInterceptors()
@AfterMethod public void clearResources()
Copyright © 2016 – 2022 Eclipse Foundation. All rights reserved.
Use is subject to license terms.