Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ public ITestAbfsFileSystemContractRename() throws Exception {
public void setup() throws Exception {
binding.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
Expand Down
5 changes: 5 additions & 0 deletions hadoop-tools/hadoop-azure/src/test/resources/azure-test.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@
<value>false</value>
</property>

<property>
<name>fs.contract.rename-returns-false-if-dest-exists</name>
<value>true</value>
</property>

<!--==================== ABFS CONFIGURATION ====================-->
<!-- SEE relevant section in "site/markdown/testing_azure.md"-->

Expand Down