@@ -22,6 +22,8 @@ namespace Snowflake.Data.Tests.UnitTests
2222 using Amazon . S3 . Model ;
2323
2424 [ TestFixture ]
25+ [ IgnoreOnEnvIs ( "snowflake_cloud_env" ,
26+ new string [ ] { "GCP" , "AZURE" } ) ]
2527 class SFS3ClientTest : SFBaseTest
2628 {
2729 // Mock data for file metadata
@@ -81,7 +83,7 @@ class SFS3ClientTest : SFBaseTest
8183 public void BeforeTest ( )
8284 {
8385 t_downloadFileName = TestNameWithWorker + "_mockFileName.txt" ;
84-
86+
8587 _fileMetadata = new SFFileMetadata ( )
8688 {
8789 stageInfo = new PutGetStageInfo ( )
@@ -274,7 +276,7 @@ public async Task TestUploadFileAsync(string requestKey, ResultStatus expectedRe
274276 iv = MockS3Client . AmzIV ,
275277 key = MockS3Client . AmzKey ,
276278 matDesc = MockS3Client . AmzMatdesc
277- } ,
279+ } ,
278280 _cancellationToken ) . ConfigureAwait ( false ) ;
279281
280282 // Assert
@@ -331,7 +333,7 @@ public async Task TestDownloadFileAsync(string requestKey, ResultStatus expected
331333 _client = new SFS3Client ( _fileMetadata . stageInfo , MaxRetry , Parallel , _proxyCredentials , mockAmazonS3Client . Object ) ;
332334 _fileMetadata . client = _client ;
333335 _fileMetadata . stageInfo . location = requestKey ;
334-
336+
335337 // Act
336338 await _client . DownloadFileAsync ( _fileMetadata , t_downloadFileName , Parallel , _cancellationToken ) . ConfigureAwait ( false ) ;
337339
0 commit comments