Skip to content

Commit 28e4be7

Browse files
committed
Fixed Test case
1 parent 66f6b70 commit 28e4be7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ public void testGetAclCallOnHnsConfigAbsence() throws Exception {
7171
AzureBlobFileSystem fs = ((AzureBlobFileSystem) FileSystem.newInstance(
7272
getRawConfiguration()));
7373
AzureBlobFileSystemStore store = Mockito.spy(fs.getAbfsStore());
74-
AbfsClient client = Mockito.spy(fs.getAbfsStore().getClient(AbfsServiceType.DFS));
75-
Mockito.doReturn(client).when(store).getClient(AbfsServiceType.DFS);
74+
AbfsClient client = Mockito.spy(fs.getAbfsClient());
75+
Mockito.doReturn(client).when(store).getClient();
7676

7777
Mockito.doThrow(TrileanConversionException.class)
7878
.when(store)

0 commit comments

Comments
 (0)