Fix LocalPinotFSTest that fails on fast hardware
The unit test would fail if the assertion would be executed in the same
millisecond than the file modification.
@@ -188,7 +188,7 @@ public class LocalPinotFSTest {
localPinotFS.touch(nonExistingFile.toURI());
Assert.assertTrue(nonExistingFile.exists());
long currentTime = System.currentTimeMillis();
- Assert.assertTrue(localPinotFS.lastModified(nonExistingFile.toURI()) < currentTime);
+ Assert.assertTrue(localPinotFS.lastModified(nonExistingFile.toURI()) <= currentTime);
Thread.sleep(1000L);
// update last modified.
localPinotFS.touch(nonExistingFile.toURI());
