Refactoring Infrastructure Tests

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/private/luca.frosini/infrastructure-tests@152453 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2017-08-03 12:31:45 +00:00
parent 03d5e26530
commit 8a2850c073
1 changed files with 3 additions and 3 deletions

View File

@ -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,