From 0d0aaf1b218dec6b150018cd401096a69aace837 Mon Sep 17 00:00:00 2001 From: "luca.frosini" Date: Mon, 28 May 2018 14:39:13 +0000 Subject: [PATCH] Code redesign Refs #11756: Refactor DataHArvesterPlugin to support scheduled execution from smart-executor Task-Url: https://support.d4science.org/issues/11756 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-dashboard-harvester-se-plugin@167797 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../dataharvest/AccountingDataHarvesterPluginTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/java/org/gcube/dataharvest/AccountingDataHarvesterPluginTest.java b/src/test/java/org/gcube/dataharvest/AccountingDataHarvesterPluginTest.java index 0760472..fa5e778 100644 --- a/src/test/java/org/gcube/dataharvest/AccountingDataHarvesterPluginTest.java +++ b/src/test/java/org/gcube/dataharvest/AccountingDataHarvesterPluginTest.java @@ -43,8 +43,8 @@ public class AccountingDataHarvesterPluginTest extends ContextTest { } - @Test - public void test() { + // @Test + public void launch() { try { org.gcube.dataharvest.utils.Utils.setContext(ROOT); @@ -59,7 +59,7 @@ public class AccountingDataHarvesterPluginTest extends ContextTest { inputs.put(AccountingDataHarvesterPlugin.MEASURE_TYPE_INPUT_PARAMETER, measureType.name()); inputs.put(AccountingDataHarvesterPlugin.RERUN_INPUT_PARAMETER, true); - inputs.put(AccountingDataHarvesterPlugin.DRY_RUN_INPUT_PARAMETER, false); + inputs.put(AccountingDataHarvesterPlugin.DRY_RUN_INPUT_PARAMETER, true); /* Calendar from = DateUtils.getStartCalendar(2018, Calendar.APRIL, 1);