Skip to content

Commit c44f8d6

Browse files
committed
unit test fix
1 parent 4c0f903 commit c44f8d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

transfer/transfer_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ func TestFileToBlobToFile(t *testing.T) {
187187
tfer.WaitForCompletion()
188188

189189
ap = targets.NewMultiFile(true, numOfWorkers)
190-
fp = sources.NewAzureBlob(container, []string{sourceFile}, accountName, accountKey, true)
190+
fp = sources.NewAzureBlob(container, []string{sourceFile}, accountName, accountKey, true, false)
191191
tfer = NewTransfer(&fp, &ap, numOfReaders, numOfWorkers, blockSize)
192192
tfer.StartTransfer(None, delegate)
193193
tfer.WaitForCompletion()
@@ -207,7 +207,7 @@ func TestFileToBlobToFileWithAlias(t *testing.T) {
207207
tfer.WaitForCompletion()
208208

209209
ap = targets.NewMultiFile(true, numOfWorkers)
210-
fp = sources.NewAzureBlob(container, []string{alias}, accountName, accountKey, true)
210+
fp = sources.NewAzureBlob(container, []string{alias}, accountName, accountKey, true, false)
211211
tfer = NewTransfer(&fp, &ap, numOfReaders, numOfWorkers, blockSize)
212212
tfer.StartTransfer(None, delegate)
213213
tfer.WaitForCompletion()

0 commit comments

Comments
 (0)