Skip to content

Commit 02e5757

Browse files
committed
pr
1 parent f6535be commit 02e5757

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAbfsRestOperationException.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,9 @@ public void testAuthFailException() throws Exception {
132132
final AzureBlobFileSystem fs = getFileSystem(config);
133133
try {
134134
fs.getFileStatus(new Path("/"));
135-
fail();
135+
fail("Should fail at auth token fetch call");
136136
} catch (AbfsRestOperationException e) {
137-
String errorDesc = "Rest operation exception should be thrown instantly"
138-
+ " post AAD failure";
137+
String errorDesc = "Should throw RestOp exception on AAD failure";
139138
Assertions.assertThat(e.getStatusCode())
140139
.describedAs("Incorrect status code. " + errorDesc).isEqualTo(-1);
141140
Assertions.assertThat(e.getErrorCode())

0 commit comments

Comments
 (0)