提交 55b07c4c authored 作者: andrei's avatar andrei

TestConcurrent.testConcurrentRead() fix

上级 4f003723
...@@ -766,6 +766,7 @@ public class TestConcurrent extends TestMVStore { ...@@ -766,6 +766,7 @@ public class TestConcurrent extends TestMVStore {
private static void testConcurrentRead() throws InterruptedException { private static void testConcurrentRead() throws InterruptedException {
final MVStore s = openStore(null); final MVStore s = openStore(null);
s.setVersionsToKeep(100);
final MVMap<Integer, Integer> m = s.openMap("data"); final MVMap<Integer, Integer> m = s.openMap("data");
final int size = 3; final int size = 3;
int x = (int) s.getCurrentVersion(); int x = (int) s.getCurrentVersion();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论