File tree Expand file tree Collapse file tree 6 files changed +11
-11
lines changed
sdk/storage/azure-storage-blob
src/test/java/com/azure/storage/blob Expand file tree Collapse file tree 6 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 22 "AssetsRepo" : " Azure/azure-sdk-assets" ,
33 "AssetsRepoPrefixPath" : " java" ,
44 "TagPrefix" : " java/storage/azure-storage-blob" ,
5- "Tag" : " java/storage/azure-storage-blob_3ba5b9fd92 "
5+ "Tag" : " java/storage/azure-storage-blob_c256787480 "
66}
Original file line number Diff line number Diff line change @@ -2986,9 +2986,9 @@ public void storageAccountAudience() {
29862986
29872987 @ Test
29882988 public void audienceError () {
2989- BlobClient aadBlob = new BlobClientBuilder ().endpoint (bc .getBlobUrl ())
2989+ BlobClient aadBlob = instrument ( new BlobClientBuilder ().endpoint (bc .getBlobUrl ())
29902990 .credential (new MockTokenCredential ())
2991- .audience (BlobAudience .createBlobServiceAccountAudience ("badAudience" ))
2991+ .audience (BlobAudience .createBlobServiceAccountAudience ("badAudience" )))
29922992 .buildClient ();
29932993
29942994 BlobStorageException e = assertThrows (BlobStorageException .class , aadBlob ::exists );
Original file line number Diff line number Diff line change @@ -1244,10 +1244,10 @@ public void storageAccountAudience() {
12441244
12451245 @ Test
12461246 public void audienceError () {
1247- BlobServiceClient aadService = new BlobServiceClientBuilder ()
1247+ BlobServiceClient aadService = instrument ( new BlobServiceClientBuilder ()
12481248 .endpoint (cc .getBlobContainerUrl ())
12491249 .credential (new MockTokenCredential ())
1250- .audience (BlobAudience .createBlobServiceAccountAudience ("badAudience" ))
1250+ .audience (BlobAudience .createBlobServiceAccountAudience ("badAudience" )))
12511251 .buildClient ();
12521252
12531253 BlobStorageException e = assertThrows (BlobStorageException .class , () -> aadService .getProperties ());
Original file line number Diff line number Diff line change @@ -834,10 +834,10 @@ public void storageAccountAudience() {
834834
835835 @ Test
836836 public void audienceError () {
837- AppendBlobClient aadBlob = new SpecializedBlobClientBuilder ()
837+ AppendBlobClient aadBlob = instrument ( new SpecializedBlobClientBuilder ()
838838 .endpoint (bc .getBlobUrl ())
839839 .credential (new MockTokenCredential ())
840- .audience (BlobAudience .createBlobServiceAccountAudience ("badAudience" ))
840+ .audience (BlobAudience .createBlobServiceAccountAudience ("badAudience" )))
841841 .buildAppendBlobClient ();
842842
843843 BlobStorageException e = assertThrows (BlobStorageException .class , () -> aadBlob .exists ());
Original file line number Diff line number Diff line change @@ -2579,10 +2579,10 @@ public void storageAccountAudience() {
25792579
25802580 @ Test
25812581 public void audienceError () {
2582- BlockBlobClient aadBlob = new SpecializedBlobClientBuilder ()
2582+ BlockBlobClient aadBlob = instrument ( new SpecializedBlobClientBuilder ()
25832583 .endpoint (blockBlobClient .getBlobUrl ())
25842584 .credential (new MockTokenCredential ())
2585- .audience (BlobAudience .createBlobServiceAccountAudience ("badAudience" ))
2585+ .audience (BlobAudience .createBlobServiceAccountAudience ("badAudience" )))
25862586 .buildBlockBlobClient ();
25872587
25882588 BlobStorageException e = assertThrows (BlobStorageException .class , () -> aadBlob .exists ());
Original file line number Diff line number Diff line change @@ -1663,10 +1663,10 @@ public void storageAccountAudience() {
16631663
16641664 @ Test
16651665 public void audienceError () {
1666- PageBlobClient aadBlob = new SpecializedBlobClientBuilder ()
1666+ PageBlobClient aadBlob = instrument ( new SpecializedBlobClientBuilder ()
16671667 .endpoint (bc .getBlobUrl ())
16681668 .credential (new MockTokenCredential ())
1669- .audience (BlobAudience .createBlobServiceAccountAudience ("badAudience" ))
1669+ .audience (BlobAudience .createBlobServiceAccountAudience ("badAudience" )))
16701670 .buildPageBlobClient ();
16711671
16721672 BlobStorageException e = assertThrows (BlobStorageException .class , () -> aadBlob .exists ());
You can’t perform that action at this time.
0 commit comments