steveloughran commented on a change in pull request #1991:
URL: https://github.com/apache/hadoop/pull/1991#discussion_r434046740
##########
File path:
hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAbfsStatistics.java
##########
@@ -202,16 +182,13 @@ public void testOpenAppendRenameExists() throws
IOException {
fs.create(createFilePath);
fs.open(createFilePath);
fs.append(createFilePath);
- fs.rename(createFilePath, destCreateFilePath);
+ assertTrue(fs.rename(createFilePath, destCreateFilePath));
Review comment:
nit: There's a ContractTestUtils rename which is a bit more informative
on rename failure, but I Don't see this failing enough to worry about it.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]