Skip to content

Commit 9d720c4

Browse files
authored
disabling smart tier tests (#50891)
1 parent 9b8b6ef commit 9d720c4

5 files changed

Lines changed: 18 additions & 0 deletions

File tree

‎sdk/storage/azure-storage-blob-batch/src/test/java/com/azure/storage/blob/batch/BatchApiTests.java‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
import com.azure.storage.common.sas.SasProtocol;
2929
import com.azure.storage.common.test.shared.extensions.RequiredServiceVersion;
3030
import org.junit.jupiter.api.RepeatedTest;
31+
import org.junit.jupiter.api.Disabled;
3132
import org.junit.jupiter.api.Test;
3233
import org.junit.jupiter.params.ParameterizedTest;
3334
import org.junit.jupiter.params.provider.Arguments;
@@ -120,6 +121,7 @@ public void setTierAllSucceed() {
120121

121122
@Test
122123
@RequiredServiceVersion(clazz = BlobServiceVersion.class, min = "2026-02-06")
124+
@Disabled("Smart tier tests released with STG102 are temporarily disabled.")
123125
public void setBlobAccessTierSmart() {
124126
String containerName = generateContainerName();
125127
String blobName1 = generateBlobName();

‎sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/BlobApiTests.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3251,6 +3251,7 @@ void containerNameEncodingOnGetBlobUrl() {
32513251

32523252
@RequiredServiceVersion(clazz = BlobServiceVersion.class, min = "2026-02-06")
32533253
@Test
3254+
@Disabled("Smart tier tests released with STG102 are temporarily disabled.")
32543255
public void uploadStreamAccessTierSmart() {
32553256
bc = cc.getBlobClient(generateBlobName());
32563257
InputStream data = new ByteArrayInputStream(getRandomByteArray(Constants.KB));

‎sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/BlobAsyncApiTests.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2579,6 +2579,7 @@ public void setTierCold() {
25792579

25802580
@RequiredServiceVersion(clazz = BlobServiceVersion.class, min = "2026-02-06")
25812581
@Test
2582+
@Disabled("Smart tier tests released with STG102 are temporarily disabled.")
25822583
public void uploadStreamAccessTierSmart() {
25832584
bc = ccAsync.getBlobAsyncClient(generateBlobName());
25842585
BlobParallelUploadOptions options

‎sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/specialized/BlobBaseApiTests.java‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
import com.azure.storage.common.test.shared.extensions.LiveOnly;
3737
import com.azure.storage.common.test.shared.extensions.RequiredServiceVersion;
3838
import org.junit.jupiter.api.BeforeEach;
39+
import org.junit.jupiter.api.Disabled;
3940
import org.junit.jupiter.api.Test;
4041
import org.junit.jupiter.params.ParameterizedTest;
4142
import org.junit.jupiter.params.provider.Arguments;
@@ -837,6 +838,7 @@ public void copyFromURLSourceErrorAndStatusCode() {
837838

838839
@RequiredServiceVersion(clazz = BlobServiceVersion.class, min = "2026-02-06")
839840
@Test
841+
@Disabled("Smart tier tests released with STG102 are temporarily disabled.")
840842
public void startCopyFromURLSmartAccessTier() {
841843
BlockBlobClient destBlob = cc.getBlobClient(generateBlobName()).getBlockBlobClient();
842844

@@ -852,6 +854,7 @@ public void startCopyFromURLSmartAccessTier() {
852854

853855
@RequiredServiceVersion(clazz = BlobServiceVersion.class, min = "2026-02-06")
854856
@Test
857+
@Disabled("Smart tier tests released with STG102 are temporarily disabled.")
855858
public void copyFromURLSmartAccessTier() {
856859
String srcBlobSas = bc.generateSas(new BlobServiceSasSignatureValues(OffsetDateTime.now().plusHours(1),
857860
new BlobSasPermission().setReadPermission(true)));
@@ -870,6 +873,7 @@ public void copyFromURLSmartAccessTier() {
870873

871874
@RequiredServiceVersion(clazz = BlobServiceVersion.class, min = "2026-02-06")
872875
@Test
876+
@Disabled("Smart tier tests released with STG102 are temporarily disabled.")
873877
public void setTierSmart() {
874878
bc.setAccessTier(AccessTier.SMART);
875879

@@ -880,6 +884,7 @@ public void setTierSmart() {
880884

881885
@RequiredServiceVersion(clazz = BlobServiceVersion.class, min = "2026-02-06")
882886
@Test
887+
@Disabled("Smart tier tests released with STG102 are temporarily disabled.")
883888
public void setTierSmartGetBlobs() {
884889
String blobName1 = generateBlobName();
885890
String blobName2 = generateBlobName();
@@ -901,6 +906,7 @@ public void setTierSmartGetBlobs() {
901906

902907
@RequiredServiceVersion(clazz = BlobServiceVersion.class, min = "2026-02-06")
903908
@Test
909+
@Disabled("Smart tier tests released with STG102 are temporarily disabled.")
904910
public void setTierSmartRehydrate() {
905911
bc.setAccessTier(AccessTier.ARCHIVE);
906912

@@ -914,6 +920,7 @@ public void setTierSmartRehydrate() {
914920

915921
@RequiredServiceVersion(clazz = BlobServiceVersion.class, min = "2026-02-06")
916922
@Test
923+
@Disabled("Smart tier tests released with STG102 are temporarily disabled.")
917924
public void setTierSmartRehydrateGetBlobs() {
918925
String blobName1 = generateBlobName();
919926
String blobName2 = generateBlobName();

‎sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/specialized/BlobBaseAsyncApiTests.java‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
import com.azure.storage.common.test.shared.extensions.LiveOnly;
3838
import com.azure.storage.common.test.shared.extensions.RequiredServiceVersion;
3939
import org.junit.jupiter.api.BeforeEach;
40+
import org.junit.jupiter.api.Disabled;
4041
import org.junit.jupiter.api.Test;
4142
import org.junit.jupiter.params.ParameterizedTest;
4243
import org.junit.jupiter.params.provider.Arguments;
@@ -621,6 +622,7 @@ public void accept(BlobQueryError nonFatalError) {
621622

622623
@RequiredServiceVersion(clazz = BlobServiceVersion.class, min = "2026-02-06")
623624
@Test
625+
@Disabled("Smart tier tests released with STG102 are temporarily disabled.")
624626
public void startCopyFromURLSmartAccessTier() {
625627
BlockBlobAsyncClient destBlob = ccAsync.getBlobAsyncClient(generateBlobName()).getBlockBlobAsyncClient();
626628

@@ -637,6 +639,7 @@ public void startCopyFromURLSmartAccessTier() {
637639

638640
@RequiredServiceVersion(clazz = BlobServiceVersion.class, min = "2026-02-06")
639641
@Test
642+
@Disabled("Smart tier tests released with STG102 are temporarily disabled.")
640643
public void copyFromURLSmartAccessTier() {
641644
String srcBlobSas = bc.generateSas(new BlobServiceSasSignatureValues(OffsetDateTime.now().plusHours(1),
642645
new BlobSasPermission().setReadPermission(true)));
@@ -656,6 +659,7 @@ public void copyFromURLSmartAccessTier() {
656659

657660
@RequiredServiceVersion(clazz = BlobServiceVersion.class, min = "2026-02-06")
658661
@Test
662+
@Disabled("Smart tier tests released with STG102 are temporarily disabled.")
659663
public void setTierSmart() {
660664
Response<BlobProperties> response
661665
= bc.setAccessTier(AccessTier.SMART).then(bc.getPropertiesWithResponse(null)).block();
@@ -667,6 +671,7 @@ public void setTierSmart() {
667671

668672
@RequiredServiceVersion(clazz = BlobServiceVersion.class, min = "2026-02-06")
669673
@Test
674+
@Disabled("Smart tier tests released with STG102 are temporarily disabled.")
670675
public void setTierSmartGetBlobs() {
671676
String blobName1 = generateBlobName();
672677
String blobName2 = generateBlobName();
@@ -687,6 +692,7 @@ public void setTierSmartGetBlobs() {
687692

688693
@RequiredServiceVersion(clazz = BlobServiceVersion.class, min = "2026-02-06")
689694
@Test
695+
@Disabled("Smart tier tests released with STG102 are temporarily disabled.")
690696
public void setTierSmartRehydrate() {
691697
BlobSetAccessTierOptions options
692698
= new BlobSetAccessTierOptions(AccessTier.SMART).setPriority(RehydratePriority.HIGH);
@@ -701,6 +707,7 @@ public void setTierSmartRehydrate() {
701707

702708
@RequiredServiceVersion(clazz = BlobServiceVersion.class, min = "2026-02-06")
703709
@Test
710+
@Disabled("Smart tier tests released with STG102 are temporarily disabled.")
704711
public void setTierSmartRehydrateGetBlobs() {
705712
String blobName1 = generateBlobName();
706713
String blobName2 = generateBlobName();

0 commit comments

Comments
 (0)