virajjasani commented on code in PR #4135:
URL: https://github.com/apache/hadoop/pull/4135#discussion_r843508971
##########
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestFsShellTouch.java:
##########
@@ -200,6 +200,72 @@ public void testTouch() throws Exception {
FileStatus fileStatus = lfs.getFileStatus(newFile);
assertThat(fileStatus.getAccessTime()).isEqualTo(dateObj.getTime());
assertThat(fileStatus.getModificationTime()).isEqualTo(dateObj.getTime());
+
+ touchDirTests();
+ }
+
+ private void touchDirTests() throws Exception {
Review Comment:
Yeah that wouldn't hurt either, will update the PR.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]