File tree Expand file tree Collapse file tree 2 files changed +5
-14
lines changed
hadoop-tools/hadoop-azure-datalake/src/test
java/org/apache/hadoop/fs/adl/live Expand file tree Collapse file tree 2 files changed +5
-14
lines changed Original file line number Diff line number Diff line change 1919
2020package org .apache .hadoop .fs .adl .live ;
2121
22- import org .junit .Test ;
23-
2422import org .apache .hadoop .conf .Configuration ;
2523import org .apache .hadoop .fs .contract .AbstractContractRenameTest ;
2624import org .apache .hadoop .fs .contract .AbstractFSContract ;
27- import org .apache .hadoop .security .AccessControlException ;
28- import org .apache .hadoop .test .LambdaTestUtils ;
2925
3026/**
3127 * Test rename contract test cases on Adl file system.
@@ -37,14 +33,4 @@ protected AbstractFSContract createContract(Configuration configuration) {
3733 return new AdlStorageContract (configuration );
3834 }
3935
40- /**
41- * ADL throws an Access Control Exception rather than return false.
42- * This is caught and its error text checked, to catch regressions.
43- */
44- @ Test
45- public void testRenameFileUnderFile () throws Exception {
46- LambdaTestUtils .intercept (AccessControlException .class ,
47- "Parent path is not a folder." ,
48- super ::testRenameFileUnderFile );
49- }
5036}
Original file line number Diff line number Diff line change 3838 <value >true</value >
3939 </property >
4040
41+ <property >
42+ <name >fs.contract.rename-returns-false-if-dest-exists</name >
43+ <value >true</value >
44+ </property >
45+
4146 <property >
4247 <name >fs.contract.test.random-seek-count</name >
4348 <value >10</value >
You can’t perform that action at this time.
0 commit comments