diff --git a/src/test/java/org/gcube/informationsystem/sweeper/ISSweeperPluginSmartExecutorSchedulerTest.java b/src/test/java/org/gcube/informationsystem/sweeper/ISSweeperPluginSmartExecutorSchedulerTest.java index 47c160a..97a14a6 100644 --- a/src/test/java/org/gcube/informationsystem/sweeper/ISSweeperPluginSmartExecutorSchedulerTest.java +++ b/src/test/java/org/gcube/informationsystem/sweeper/ISSweeperPluginSmartExecutorSchedulerTest.java @@ -13,6 +13,7 @@ import org.gcube.vremanagement.executor.api.types.LaunchParameter; import org.gcube.vremanagement.executor.api.types.Scheduling; import org.gcube.vremanagement.executor.client.plugins.ExecutorPlugin; import org.gcube.vremanagement.executor.client.proxies.SmartExecutorProxy; +import org.junit.After; import org.junit.Assert; import org.junit.Before; import org.junit.Test; @@ -36,6 +37,11 @@ public class ISSweeperPluginSmartExecutorSchedulerTest { Assert.assertNotNull(proxy); } + @After + public void after(){ + SecurityTokenProvider.instance.reset(); + } + public UUID scheduleTest(Scheduling scheduling, Long sleepTime) throws Exception { Map inputs = new HashMap(); logger.debug("Inputs : {}", inputs);