@@ -258,6 +258,7 @@ mod tests {
258258 }
259259
260260 #[ pg_test]
261+ #[ cfg( not( rhel8) ) ]
261262 fn test_s3_temporary_token ( ) {
262263 object_store_cache_clear ( ) ;
263264
@@ -340,6 +341,7 @@ mod tests {
340341 }
341342
342343 #[ pg_test]
344+ #[ cfg( not( rhel8) ) ]
343345 fn test_azure_blob_from_env ( ) {
344346 object_store_cache_clear ( ) ;
345347
@@ -367,6 +369,7 @@ mod tests {
367369 }
368370
369371 #[ pg_test]
372+ #[ cfg( not( rhel8) ) ]
370373 fn test_azure_from_config_file ( ) {
371374 object_store_cache_clear ( ) ;
372375
@@ -413,6 +416,7 @@ mod tests {
413416 }
414417
415418 #[ pg_test]
419+ #[ cfg( not( rhel8) ) ]
416420 fn test_azure_from_env_via_connection_string ( ) {
417421 object_store_cache_clear ( ) ;
418422
@@ -441,6 +445,7 @@ mod tests {
441445 }
442446
443447 #[ pg_test]
448+ #[ cfg( not( rhel8) ) ]
444449 fn test_azure_from_config_via_connection_string ( ) {
445450 object_store_cache_clear ( ) ;
446451
@@ -484,6 +489,7 @@ mod tests {
484489
485490 #[ pg_test]
486491 #[ should_panic( expected = "Account must be specified" ) ]
492+ #[ cfg( not( rhel8) ) ]
487493 fn test_azure_no_storage_account ( ) {
488494 object_store_cache_clear ( ) ;
489495
@@ -505,6 +511,7 @@ mod tests {
505511
506512 #[ pg_test]
507513 #[ should_panic( expected = "403 Forbidden" ) ]
514+ #[ cfg( not( rhel8) ) ]
508515 fn test_azure_wrong_storage_key ( ) {
509516 object_store_cache_clear ( ) ;
510517
@@ -531,6 +538,7 @@ mod tests {
531538
532539 #[ pg_test]
533540 #[ should_panic( expected = "404 Not Found" ) ]
541+ #[ cfg( not( rhel8) ) ]
534542 fn test_azure_write_wrong_container ( ) {
535543 object_store_cache_clear ( ) ;
536544
@@ -547,6 +555,7 @@ mod tests {
547555 }
548556
549557 #[ pg_test]
558+ #[ cfg( not( rhel8) ) ]
550559 fn test_azure_read_write_sas ( ) {
551560 object_store_cache_clear ( ) ;
552561
@@ -575,6 +584,7 @@ mod tests {
575584
576585 #[ pg_test]
577586 #[ should_panic( expected = "403 Forbidden" ) ]
587+ #[ cfg( not( rhel8) ) ]
578588 fn test_azure_read_only_sas ( ) {
579589 object_store_cache_clear ( ) ;
580590
@@ -603,6 +613,7 @@ mod tests {
603613
604614 #[ pg_test]
605615 #[ should_panic( expected = "could not open file" ) ]
616+ #[ cfg( not( rhel8) ) ]
606617 fn test_azure_unsupported_uri ( ) {
607618 object_store_cache_clear ( ) ;
608619
@@ -707,6 +718,7 @@ mod tests {
707718 }
708719
709720 #[ pg_test]
721+ #[ cfg( not( rhel8) ) ]
710722 fn test_object_store_cache ( ) {
711723 object_store_cache_clear ( ) ;
712724
0 commit comments