@@ -22,6 +22,8 @@ namespace Snowflake.Data.Tests.UnitTests
22
22
using Amazon . S3 . Model ;
23
23
24
24
[ TestFixture ]
25
+ [ IgnoreOnEnvIs ( "snowflake_cloud_env" ,
26
+ new string [ ] { "GCP" , "AZURE" } ) ]
25
27
class SFS3ClientTest : SFBaseTest
26
28
{
27
29
// Mock data for file metadata
@@ -81,7 +83,7 @@ class SFS3ClientTest : SFBaseTest
81
83
public void BeforeTest ( )
82
84
{
83
85
t_downloadFileName = TestNameWithWorker + "_mockFileName.txt" ;
84
-
86
+
85
87
_fileMetadata = new SFFileMetadata ( )
86
88
{
87
89
stageInfo = new PutGetStageInfo ( )
@@ -274,7 +276,7 @@ public async Task TestUploadFileAsync(string requestKey, ResultStatus expectedRe
274
276
iv = MockS3Client . AmzIV ,
275
277
key = MockS3Client . AmzKey ,
276
278
matDesc = MockS3Client . AmzMatdesc
277
- } ,
279
+ } ,
278
280
_cancellationToken ) . ConfigureAwait ( false ) ;
279
281
280
282
// Assert
@@ -331,7 +333,7 @@ public async Task TestDownloadFileAsync(string requestKey, ResultStatus expected
331
333
_client = new SFS3Client ( _fileMetadata . stageInfo , MaxRetry , Parallel , _proxyCredentials , mockAmazonS3Client . Object ) ;
332
334
_fileMetadata . client = _client ;
333
335
_fileMetadata . stageInfo . location = requestKey ;
334
-
336
+
335
337
// Act
336
338
await _client . DownloadFileAsync ( _fileMetadata , t_downloadFileName , Parallel , _cancellationToken ) . ConfigureAwait ( false ) ;
337
339
0 commit comments