diff --git a/src/test/java/org/gcube/informationsystem/sweeper/ISSweeperPluginSmartExecutorSchedulerTest.java b/src/test/java/org/gcube/informationsystem/sweeper/ISSweeperPluginSmartExecutorSchedulerTest.java index 44465a1..e238c8f 100644 --- a/src/test/java/org/gcube/informationsystem/sweeper/ISSweeperPluginSmartExecutorSchedulerTest.java +++ b/src/test/java/org/gcube/informationsystem/sweeper/ISSweeperPluginSmartExecutorSchedulerTest.java @@ -38,7 +38,7 @@ public class ISSweeperPluginSmartExecutorSchedulerTest extends ScopedTest { Assert.assertNotNull(proxy); } - public UUID scheduleTest(Scheduling scheduling, Long sleepTime) throws Exception { + public UUID scheduleTest(Scheduling scheduling) throws Exception { Map inputs = new HashMap(); logger.debug("Inputs : {}", inputs); inputs.put(ISSweeperPlugin.EXPIRING_MINUTES_TIMEOUT, 15); @@ -62,7 +62,7 @@ public class ISSweeperPluginSmartExecutorSchedulerTest extends ScopedTest { CronExpression cronExpression = new CronExpression("0 */10 * * * ?"); // every 10 minutes starting from now Scheduling scheduling = new Scheduling(cronExpression, true); scheduling.setGlobal(true); - UUID uuid = scheduleTest(scheduling, new Long(1000*60)); // 1 min + UUID uuid = scheduleTest(scheduling); logger.debug("Launched with UUID : {}", uuid); }