File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
dotnet/test/DotNetUnitTest/ExternalProvider Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 7676 STORAGE_AWSS3_FOLDER_NAME : " gxclasses"
7777 STORAGE_AWSS3_REGION : " us-east-1"
7878 STORAGE_AWSS3_ENDPOINT : " custom"
79+ S3_SKIP_URL_SIGNATURE_TEST : " true"
7980 STORAGE_AWSS3_CUSTOM_ENDPOINT : " http://localhost:4566"
8081 IBMCOS_TEST_ENABLED : " true"
8182 STORAGE_IBMCOS_ACCESS_KEY : " ${{ secrets.IBMCOS_ACCESS_KEY }}"
Original file line number Diff line number Diff line change @@ -393,8 +393,15 @@ private static void Wait(int milliseconds)
393393 private void EnsureUrl ( String signedOrUnsignedUrl , GxFileType acl )
394394 {
395395 Assert . True ( UrlExists ( signedOrUnsignedUrl ) , "URL not found: " + signedOrUnsignedUrl ) ;
396- if ( IsPrivateFile ( acl ) )
396+
397+ bool skipUrlSignatureTests = ! string . IsNullOrEmpty ( Environment . GetEnvironmentVariable ( "S3_SKIP_URL_SIGNATURE_TEST" ) ) ;
398+ if ( skipUrlSignatureTests )
397399 {
400+ return ;
401+ }
402+
403+ if ( IsPrivateFile ( acl ) )
404+ {
398405 if ( ! ( this is ExternalProviderMinioTest ) ) //Minio local installation not supported
399406 {
400407 Skip . If ( this is ExternalProviderMinioTest ) ;
You can’t perform that action at this time.
0 commit comments