HDFS-12010. TestCopyPreserveFlag fails consistently because of mismatch in access time. Contributed by Mukul Kumar Singh.
This commit is contained in:
parent
6d116ffad2
commit
8ceaac1877
|
@ -76,10 +76,10 @@ public class TestCopyPreserveFlag {
|
|||
output.writeChar('\n');
|
||||
}
|
||||
output.close();
|
||||
fs.setTimes(FROM, MODIFICATION_TIME, ACCESS_TIME);
|
||||
fs.setPermission(FROM, PERMISSIONS);
|
||||
fs.setTimes(DIR_FROM, MODIFICATION_TIME, ACCESS_TIME);
|
||||
fs.setTimes(FROM, MODIFICATION_TIME, ACCESS_TIME);
|
||||
fs.setPermission(DIR_FROM, PERMISSIONS);
|
||||
fs.setTimes(DIR_FROM, MODIFICATION_TIME, ACCESS_TIME);
|
||||
}
|
||||
|
||||
@After
|
||||
|
|
Loading…
Reference in New Issue