@@ -169,7 +169,7 @@ func TestUploadFileWithAzureUploadFailedError(t *testing.T) {
169
169
overwrite : true ,
170
170
dstCompressionType : compressionTypes ["GZIP" ],
171
171
options : & SnowflakeFileTransferOptions {
172
- MultiPartThreshold : dataSizeThreshold ,
172
+ MultiPartThreshold : multiPartThreshold ,
173
173
},
174
174
mockAzureClient : & azureObjectAPIMock {
175
175
UploadFileFunc : func (ctx context.Context , file * os.File , o * azblob.UploadFileOptions ) (azblob.UploadFileResponse , error ) {
@@ -228,7 +228,7 @@ func TestUploadStreamWithAzureUploadFailedError(t *testing.T) {
228
228
overwrite : true ,
229
229
dstCompressionType : compressionTypes ["GZIP" ],
230
230
options : & SnowflakeFileTransferOptions {
231
- MultiPartThreshold : dataSizeThreshold ,
231
+ MultiPartThreshold : multiPartThreshold ,
232
232
},
233
233
mockAzureClient : & azureObjectAPIMock {
234
234
UploadStreamFunc : func (ctx context.Context , body io.Reader , o * azblob.UploadStreamOptions ) (azblob.UploadStreamResponse , error ) {
@@ -291,7 +291,7 @@ func TestUploadFileWithAzureUploadTokenExpired(t *testing.T) {
291
291
overwrite : true ,
292
292
dstCompressionType : compressionTypes ["GZIP" ],
293
293
options : & SnowflakeFileTransferOptions {
294
- MultiPartThreshold : dataSizeThreshold ,
294
+ MultiPartThreshold : multiPartThreshold ,
295
295
},
296
296
mockAzureClient : & azureObjectAPIMock {
297
297
UploadFileFunc : func (ctx context.Context , file * os.File , o * azblob.UploadFileOptions ) (azblob.UploadFileResponse , error ) {
@@ -368,7 +368,7 @@ func TestUploadFileWithAzureUploadNeedsRetry(t *testing.T) {
368
368
overwrite : true ,
369
369
dstCompressionType : compressionTypes ["GZIP" ],
370
370
options : & SnowflakeFileTransferOptions {
371
- MultiPartThreshold : dataSizeThreshold ,
371
+ MultiPartThreshold : multiPartThreshold ,
372
372
},
373
373
mockAzureClient : & azureObjectAPIMock {
374
374
UploadFileFunc : func (ctx context.Context , file * os.File , o * azblob.UploadFileOptions ) (azblob.UploadFileResponse , error ) {
@@ -430,7 +430,7 @@ func TestDownloadOneFileToAzureFailed(t *testing.T) {
430
430
srcFileName : "data1.txt.gz" ,
431
431
localLocation : dir ,
432
432
options : & SnowflakeFileTransferOptions {
433
- MultiPartThreshold : dataSizeThreshold ,
433
+ MultiPartThreshold : multiPartThreshold ,
434
434
},
435
435
mockAzureClient : & azureObjectAPIMock {
436
436
DownloadFileFunc : func (ctx context.Context , file * os.File , o * blob.DownloadFileOptions ) (int64 , error ) {
@@ -576,7 +576,7 @@ func TestUploadFileToAzureClientCastFail(t *testing.T) {
576
576
encryptMeta : testEncryptionMeta (),
577
577
overwrite : true ,
578
578
options : & SnowflakeFileTransferOptions {
579
- MultiPartThreshold : dataSizeThreshold ,
579
+ MultiPartThreshold : multiPartThreshold ,
580
580
},
581
581
sfa : & snowflakeFileTransferAgent {
582
582
sc : & snowflakeConn {
0 commit comments