Skip to content

Commit f4e8e4b

Browse files
committed
x
Signed-off-by: Binlong Gao <[email protected]>
1 parent 94b045a commit f4e8e4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/repository-azure/src/test/java/org/opensearch/repositories/azure/AzureStorageServiceTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ public void testClientUsingManagedIdentity() throws IOException {
205205
// Expect the client to use managed identity for authentication, and it should fail because managed identity environment is
206206
// not setup in the test
207207
final MsalServiceException e = expectThrows(MsalServiceException.class, () -> client1.getAccountInfo());
208-
assertThat(e.getMessage(), containsString("HttpStatusCode: 401"));
208+
assertThat(e.getMessage(), containsString("MSI returned 401"));
209209
}
210210
}
211211
}

0 commit comments

Comments
 (0)