aboutsummaryrefslogtreecommitdiffstats
path: root/aai-core
diff options
context:
space:
mode:
Diffstat (limited to 'aai-core')
-rw-r--r--aai-core/src/test/java/org/onap/aai/concurrent/AaiCallableTest.java38
1 files changed, 19 insertions, 19 deletions
diff --git a/aai-core/src/test/java/org/onap/aai/concurrent/AaiCallableTest.java b/aai-core/src/test/java/org/onap/aai/concurrent/AaiCallableTest.java
index b1507b7b..94b1ef6b 100644
--- a/aai-core/src/test/java/org/onap/aai/concurrent/AaiCallableTest.java
+++ b/aai-core/src/test/java/org/onap/aai/concurrent/AaiCallableTest.java
@@ -27,23 +27,23 @@ import org.slf4j.MDC;
import org.onap.aai.concurrent.AaiCallable;
public class AaiCallableTest extends AAISetup {
- @Test
- public void testAaiCallable() {
- MDC.put("test_name", "test_value");
-
- AaiCallable<Object> task = new AaiCallable<Object>() {
- @Override
- public Object process() {
- String mdcValue = MDC.get("test_name");
- assertTrue( "MDC value retained", "test_value".equals(mdcValue));
- return (new Object());
- }
- };
- try {
- task.call();
- }
- catch (Exception e) {
- e.printStackTrace();
- }
- }
+ @Test
+ public void testAaiCallable() {
+ MDC.put("test_name", "test_value");
+
+ AaiCallable<Object> task = new AaiCallable<Object>() {
+ @Override
+ public Object process() {
+ String mdcValue = MDC.get("test_name");
+ assertTrue( "MDC value retained", "test_value".equals(mdcValue));
+ return (new Object());
+ }
+ };
+ try {
+ task.call();
+ }
+ catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
}