HADOOP-17396. ABFS: testRenameFileOverExistingFile fails (#2491)
Contributed by Sneha Vijayarajan. Change-Id: I57a866b95ff18229caee8a6028874074a29cb5bd
This commit is contained in:
parent
db04195afd
commit
39fa2c93c4
@ -38,6 +38,11 @@ public ITestAbfsFileSystemContractRename() throws Exception {
|
|||||||
public void setup() throws Exception {
|
public void setup() throws Exception {
|
||||||
binding.setup();
|
binding.setup();
|
||||||
super.setup();
|
super.setup();
|
||||||
|
// Base rename contract test class re-uses the test folder
|
||||||
|
// This leads to failures when the test is re-run as same ABFS test
|
||||||
|
// containers are re-used for test run and creation of source and
|
||||||
|
// destination test paths fail, as they are already present.
|
||||||
|
binding.getFileSystem().delete(binding.getTestPath(), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -38,6 +38,11 @@
|
|||||||
<value>false</value>
|
<value>false</value>
|
||||||
</property>
|
</property>
|
||||||
|
|
||||||
|
<property>
|
||||||
|
<name>fs.contract.rename-returns-false-if-dest-exists</name>
|
||||||
|
<value>true</value>
|
||||||
|
</property>
|
||||||
|
|
||||||
<!--==================== ABFS CONFIGURATION ====================-->
|
<!--==================== ABFS CONFIGURATION ====================-->
|
||||||
<!-- SEE relevant section in "site/markdown/testing_azure.md"-->
|
<!-- SEE relevant section in "site/markdown/testing_azure.md"-->
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user