diff --git a/plugins/nf-amazon/src/test/nextflow/cloud/aws/batch/AwsBatchTaskHandlerTest.groovy b/plugins/nf-amazon/src/test/nextflow/cloud/aws/batch/AwsBatchTaskHandlerTest.groovy index f2785db8ee..7a78770160 100644 --- a/plugins/nf-amazon/src/test/nextflow/cloud/aws/batch/AwsBatchTaskHandlerTest.groovy +++ b/plugins/nf-amazon/src/test/nextflow/cloud/aws/batch/AwsBatchTaskHandlerTest.groovy @@ -897,12 +897,10 @@ class AwsBatchTaskHandlerTest extends Specification { then: 1 * handler.getSubmitCommand() >> ['sh','-c','hello'] 1 * handler.maxSpotAttempts() >> 5 - 2 * handler.getAwsOptions() >> { new AwsOptions(cliPath: '/bin/aws') } + 1 * handler.getAwsOptions() >> { new AwsOptions(cliPath: '/bin/aws') } 1 * handler.getJobQueue(task) >> 'queue1' 1 * handler.getJobDefinition(task) >> 'job-def:1' 1 * handler.getEnvironmentVars() >> [VAR_FOO, VAR_BAR] - 1 * handler.wrapperFile >> Paths.get('/bucket/test/.command.run') - 1 * handler.getLogFile() >> Paths.get('/bucket/test/.command.log') req.getJobName() == 'batchtask' req.getJobQueue() == 'queue1'