提交 7194ac0b authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Try to collect garbage in TestFuzzOptimizations in PageStore mode

上级 a1f5f8d4
......@@ -18,6 +18,7 @@ import java.util.Random;
import org.h2.test.TestBase;
import org.h2.test.db.Db;
import org.h2.test.db.Db.Prepared;
import org.h2.util.Utils;
/**
* This test executes random SQL statements to test if optimizations are working
......@@ -116,6 +117,9 @@ public class TestFuzzOptimizations extends TestBase {
}
executeAndCompare(condition, params, message);
}
if (!config.mvStore) {
println((Utils.getMemoryUsed() >> 10) + " MiB used");
}
}
executeAndCompare("a >=0 and b in(?, 2) and a in(1, ?, null)", Arrays.asList("10", "2"),
"testIn() seed=-6191135606105920350L");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论