提交 e57bc856 authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Do not test TestBigResult.testLOB() with DEBUG trace level to avoid OOME

上级 d82a3693
......@@ -17,6 +17,7 @@ import java.util.ArrayList;
import java.util.Arrays;
import java.util.BitSet;
import org.h2.message.TraceSystem;
import org.h2.store.FileLister;
import org.h2.test.TestBase;
......@@ -297,6 +298,11 @@ public class TestBigResult extends TestBase {
}
private void testLOB() throws SQLException {
if (config.traceLevelFile == TraceSystem.DEBUG) {
// Trace system on this level can throw OOME with such large
// arguments as used in this test.
return;
}
deleteDb("bigResult");
Connection conn = getConnection("bigResult");
Statement stat = conn.createStatement();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论