fix tests

This commit is contained in:
Maxim.Mossienko
2012-07-12 22:08:49 +04:00
parent 412a02bda3
commit db014c442a
@@ -84,7 +84,7 @@ public class IndexInfrastructure {
finally {
ourIndexIdToCreationStamp.clear();
os.close();
long max = Math.max(System.currentTimeMillis(), Math.max(prevLastModifiedValue + 2000, ourLastStamp));
long max = Math.max(System.currentTimeMillis(), Math.max(prevLastModifiedValue, ourLastStamp) + 2000);
ourLastStamp = max;
file.setLastModified(max);
}