提交 6cc08d6e authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Remove GC tricks and incorrect comment from TestFuzzOptimizations

上级 83d70464
......@@ -18,7 +18,6 @@ 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
......@@ -117,18 +116,6 @@ public class TestFuzzOptimizations extends TestBase {
}
executeAndCompare(condition, params, message);
}
if (!config.mvStore && config.travis) {
/*
* Travis tests have problems with automatic garbage collection, so request a GC
* explicitly and print its results.
*/
try {
Thread.sleep(100);
} catch (InterruptedException e) {
throw new RuntimeException(e);
}
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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论