提交 f3cd8fda authored 作者: Thomas Mueller's avatar Thomas Mueller

Fix test case.

上级 b305b955
......@@ -46,10 +46,10 @@ public class TestTransactionStore extends TestBase {
@Override
public void test() throws Exception {
FileUtils.createDirectories(getBaseDir());
// testCountWithOpenTransactions();
// testConcurrentUpdate();
// testRepeatedChange();
// testTransactionAge();
testCountWithOpenTransactions();
testConcurrentUpdate();
testRepeatedChange();
testTransactionAge();
testStopWhileCommitting();
testGetModifiedMaps();
testKeyIterator();
......@@ -240,6 +240,10 @@ public class TestTransactionStore extends TestBase {
break;
}
}
// re-open the store, because we have opened
// the undoLog map with the wrong data type
s.close();
s = MVStore.open(fileName);
ts = new TransactionStore(s);
List<Transaction> list = ts.getOpenTransactions();
if (list.size() != 0) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论