test for Fix for value storage corruption (IDEA-132488)

This commit is contained in:
Maxim.Mossienko
2014-11-11 19:12:32 +01:00
parent 27a2c23bb1
commit 2ae34afbc0
@@ -414,6 +414,7 @@ public class PersistentMapTest extends TestCase {
map = new PersistentHashMap<String, Integer>(file, stringDescriptor, integerDescriptor);
if (isSmall) map.compact();
else assertTrue(map.isDirty()); // autocompact on open should leave the map dirty
assertTrue(!map.makesSenseToCompact());
System.out.println(System.currentTimeMillis() - started);
for (int i = 0; i < stringsCount; ++i) {