fixing tests

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/private/luca.frosini/infrastructure-tests@155162 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2017-10-11 16:20:23 +00:00
parent bdb95417a3
commit c9c13bc309
2 changed files with 4 additions and 4 deletions

View File

@ -64,7 +64,7 @@ public class AggregatorAccountingPluginSmartExecutorSchedulerTest extends Scoped
inputs.put(AccountingAggregatorPlugin.RECORD_TYPE_INPUT_PARAMETER, inputs.put(AccountingAggregatorPlugin.RECORD_TYPE_INPUT_PARAMETER,
ServiceUsageRecord.class.newInstance().getRecordType()); ServiceUsageRecord.class.newInstance().getRecordType());
Calendar aggregationStartCalendar = Utility.getAggregationStartCalendar(2017, Calendar.SEPTEMBER, 22); Calendar aggregationStartCalendar = Utility.getAggregationStartCalendar(2017, Calendar.SEPTEMBER, 17);
String aggregationStartDate = AccountingAggregatorPlugin.AGGREGATION_START_DATE_DATE_FORMAT.format(aggregationStartCalendar.getTime()); String aggregationStartDate = AccountingAggregatorPlugin.AGGREGATION_START_DATE_DATE_FORMAT.format(aggregationStartCalendar.getTime());
logger.trace("{} : {}", AccountingAggregatorPlugin.AGGREGATION_START_DATE_INPUT_PARAMETER, aggregationStartDate); logger.trace("{} : {}", AccountingAggregatorPlugin.AGGREGATION_START_DATE_INPUT_PARAMETER, aggregationStartDate);
inputs.put(AccountingAggregatorPlugin.AGGREGATION_START_DATE_INPUT_PARAMETER, aggregationStartDate); inputs.put(AccountingAggregatorPlugin.AGGREGATION_START_DATE_INPUT_PARAMETER, aggregationStartDate);

View File

@ -53,7 +53,7 @@ public class ISExporterPluginSmartExecutorSchedulerTest extends ScopedTest {
} }
@Test //@Test
public void production() throws Exception { public void production() throws Exception {
File src = new File("src"); File src = new File("src");
File test = new File(src, "test"); File test = new File(src, "test");
@ -89,8 +89,8 @@ public class ISExporterPluginSmartExecutorSchedulerTest extends ScopedTest {
//UUID uuid = scheduleTest(scheduling); UUID uuid = scheduleTest(scheduling);
//logger.debug("Launched with UUID : {}", uuid); logger.debug("Launched with UUID : {}", uuid);
logger.info("\n\n\n"); logger.info("\n\n\n");
} }