From 8a2850c073cbaddca673b01c6bc99fa755473318 Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Thu, 3 Aug 2017 12:31:45 +0000 Subject: [PATCH] Refactoring Infrastructure Tests git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/private/luca.frosini/infrastructure-tests@152453 82a268e6-3cf1-43bd-a215-b396298e98cf --- ...ggregatorAccountingPluginSmartExecutorSchedulerTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename src/test/java/org/gcube/{ => accounting}/aggregator/plugin/AggregatorAccountingPluginSmartExecutorSchedulerTest.java (97%) diff --git a/src/test/java/org/gcube/aggregator/plugin/AggregatorAccountingPluginSmartExecutorSchedulerTest.java b/src/test/java/org/gcube/accounting/aggregator/plugin/AggregatorAccountingPluginSmartExecutorSchedulerTest.java similarity index 97% rename from src/test/java/org/gcube/aggregator/plugin/AggregatorAccountingPluginSmartExecutorSchedulerTest.java rename to src/test/java/org/gcube/accounting/aggregator/plugin/AggregatorAccountingPluginSmartExecutorSchedulerTest.java index 4264df9..d0ab77a 100644 --- a/src/test/java/org/gcube/aggregator/plugin/AggregatorAccountingPluginSmartExecutorSchedulerTest.java +++ b/src/test/java/org/gcube/accounting/aggregator/plugin/AggregatorAccountingPluginSmartExecutorSchedulerTest.java @@ -1,7 +1,7 @@ /** * */ -package org.gcube.aggregator.plugin; +package org.gcube.accounting.aggregator.plugin; import java.util.Calendar; import java.util.HashMap; @@ -40,7 +40,7 @@ public class AggregatorAccountingPluginSmartExecutorSchedulerTest extends Scoped private String getPersistEndTimeParameter() { Calendar persistEndTime = Calendar.getInstance(); - persistEndTime.set(Calendar.HOUR_OF_DAY, 19); + persistEndTime.set(Calendar.HOUR_OF_DAY, 18); persistEndTime.set(Calendar.MINUTE, 00); String persistEndTimeParameter = AccountingAggregatorPlugin.RECOVERY_END_TIME_DATE_FORMAT .format(persistEndTime.getTime()); @@ -71,7 +71,7 @@ public class AggregatorAccountingPluginSmartExecutorSchedulerTest extends Scoped // Start Aggregation Date Calendar aggregationStartCalendar = Utility.getAggregationStartCalendar(2017, Calendar.JUNE, - 17); + 1); String aggregationStartDate = AccountingAggregatorPlugin.AGGREGATION_START_DATE_DATE_FORMAT .format(aggregationStartCalendar.getTime()); logger.trace("{} : {}", AccountingAggregatorPlugin.AGGREGATION_START_DATE_INPUT_PARAMETER,