Refactoring Infrastructure Tests

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

View File

@ -1,7 +1,7 @@
/**
*
*/
package org.gcube.accounting.aggregator.plugin;
package org.gcube.aggregator.plugin;
import java.util.Calendar;
import java.util.HashMap;
@ -101,7 +101,7 @@ public class AggregatorAccountingPluginSmartExecutorSchedulerTest extends Scoped
public void cronExpPreviousMustBeTerminated() throws Exception {
// Every 15 minutes
CronExpression cronExpression = new CronExpression("0 0/15 * 1/1 * ? *");
Scheduling scheduling = new Scheduling(cronExpression, true);
Scheduling scheduling = new Scheduling(cronExpression, false);
scheduling.setGlobal(true);
Map<String, Object> inputs = getAggregateInputs();
@ -114,7 +114,7 @@ public class AggregatorAccountingPluginSmartExecutorSchedulerTest extends Scoped
public void recovery() throws Exception {
// Every Day at 8:00
CronExpression cronExpression = new CronExpression("0 0 8 1/1 * ? *");
Scheduling scheduling = new Scheduling(cronExpression, true);
Scheduling scheduling = new Scheduling(cronExpression, false);
scheduling.setGlobal(true);
Map<String, Object> inputs = getRecoveryInputs();