From bc85d91d0d21ee71e3942383b4eec29a2b068531 Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Thu, 28 Jul 2016 10:18:40 +0000 Subject: [PATCH] removed unneeded parameter git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/private/luca.frosini/infrastructure-tests@130879 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../sweeper/ISSweeperPluginSmartExecutorSchedulerTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }