提交 1ff3256b authored 作者: christian.peter.io's avatar christian.peter.io

Don't throw an exception when there is no lucene in the classpath

上级 64360e5c
...@@ -43,8 +43,6 @@ public class TestFullText extends TestBase { ...@@ -43,8 +43,6 @@ public class TestFullText extends TestBase {
if (config.memory) { if (config.memory) {
return; return;
} }
testMultiThreaded(true);
testMultiThreaded(false);
testStreamLob(); testStreamLob();
test(false, "VARCHAR"); test(false, "VARCHAR");
test(false, "CLOB"); test(false, "CLOB");
...@@ -53,6 +51,8 @@ public class TestFullText extends TestBase { ...@@ -53,6 +51,8 @@ public class TestFullText extends TestBase {
String luceneFullTextClassName = "org.h2.fulltext.FullTextLucene"; String luceneFullTextClassName = "org.h2.fulltext.FullTextLucene";
try { try {
Class.forName(luceneFullTextClassName); Class.forName(luceneFullTextClassName);
testMultiThreaded(true);
testMultiThreaded(false);
testTransaction(true); testTransaction(true);
test(true, "VARCHAR"); test(true, "VARCHAR");
test(true, "CLOB"); test(true, "CLOB");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论