added time to close makes the test more stable

This commit is contained in:
Rob Austin
2014-11-11 17:47:31 +00:00
parent 7ce19638c4
commit 1658a8a664
2 changed files with 8 additions and 2 deletions
@@ -235,6 +235,12 @@ class StatelessChronicleMap<K, V> implements ChronicleMap<K, V>, Closeable {
if (closeables != null)
closeables.closeQuietly();
closeables = null;
try {
// give time to close
Thread.sleep(10);
} catch (InterruptedException e) {
//
}
}
/**