Skip to content

Commit 708c4f4

Browse files
committed
test fixup
Signed-off-by: adamrtalbot <12817534+adamrtalbot@users.noreply.github.com>
1 parent 6aab309 commit 708c4f4

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

plugins/nf-azure/src/main/nextflow/cloud/azure/file/AzBashLib.groovy

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,8 @@ class AzBashLib extends BashFunLib<AzBashLib> {
7979
local target=$2
8080
local basedir=$(dirname $2)
8181
local ret
82-
8382
mkdir -p "$basedir"
84-
83+
8584
ret=$(azcopy cp "$source?$AZ_SAS" "$target" 2>&1) || {
8685
## if fails check if it was trying to download a directory
8786
mkdir -p $target

plugins/nf-azure/src/test/nextflow/cloud/azure/batch/AzFileCopyStrategyTest.groovy

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,8 @@ class AzFileCopyStrategyTest extends Specification {
180180
local target=$2
181181
local basedir=$(dirname $2)
182182
local ret
183-
184183
mkdir -p "$basedir"
185-
184+
186185
ret=$(azcopy cp "$source?$AZ_SAS" "$target" 2>&1) || {
187186
## if fails check if it was trying to download a directory
188187
mkdir -p $target
@@ -318,9 +317,8 @@ class AzFileCopyStrategyTest extends Specification {
318317
local target=$2
319318
local basedir=$(dirname $2)
320319
local ret
321-
322320
mkdir -p "$basedir"
323-
321+
324322
ret=$(azcopy cp "$source?$AZ_SAS" "$target" 2>&1) || {
325323
## if fails check if it was trying to download a directory
326324
mkdir -p $target
@@ -480,9 +478,8 @@ class AzFileCopyStrategyTest extends Specification {
480478
local target=$2
481479
local basedir=$(dirname $2)
482480
local ret
483-
484481
mkdir -p "$basedir"
485-
482+
486483
ret=$(azcopy cp "$source?$AZ_SAS" "$target" 2>&1) || {
487484
## if fails check if it was trying to download a directory
488485
mkdir -p $target

0 commit comments

Comments
 (0)