diff options
author | wasala <przemyslaw.wasala@nokia.com> | 2018-03-28 20:08:54 +0200 |
---|---|---|
committer | wasala <przemyslaw.wasala@nokia.com> | 2018-03-28 20:27:13 +0200 |
commit | 112044f9d9999f7e1e1871e49aba9ba73ce3959e (patch) | |
tree | c211666b1a7368e252096a3a610f3566161599b4 /prh-app-server/src/test/java | |
parent | 9292dd2aa89214957fc72980f58026324ca75a4f (diff) |
Already addes push Dockerfile image from mvn pov
Change-Id: I4411279c34dd0b6b38e283fdfafa4977e7eb4414
Issue-ID: DCAEGEN2-407
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
Diffstat (limited to 'prh-app-server/src/test/java')
-rw-r--r-- | prh-app-server/src/test/java/org/onap/dcaegen2/services/prh/tasks/ScheduledXmlContextITest.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/prh-app-server/src/test/java/org/onap/dcaegen2/services/prh/tasks/ScheduledXmlContextITest.java b/prh-app-server/src/test/java/org/onap/dcaegen2/services/prh/tasks/ScheduledXmlContextITest.java index 7a3fac63..a27b454c 100644 --- a/prh-app-server/src/test/java/org/onap/dcaegen2/services/prh/tasks/ScheduledXmlContextITest.java +++ b/prh-app-server/src/test/java/org/onap/dcaegen2/services/prh/tasks/ScheduledXmlContextITest.java @@ -22,8 +22,6 @@ package org.onap.dcaegen2.services.prh.tasks; import static org.mockito.Mockito.atLeast; import static org.mockito.Mockito.verify; -import java.time.Duration; -import java.util.concurrent.Callable; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; @@ -56,7 +54,7 @@ public class ScheduledXmlContextITest extends AbstractTestNGSpringContextTests { @Test - public void testScheduling() throws InterruptedException { + public void testScheduling() { final ScheduledExecutorService executorService = Executors.newSingleThreadScheduledExecutor(); executorService.scheduleWithFixedDelay(this::verifyDmaapConsumerTask, 0, WAIT_FOR_SCHEDULING, TimeUnit.SECONDS); } |