提交 7bce6ec7 authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Fix test in lazy mode

上级 a85c7840
...@@ -714,7 +714,7 @@ public class TestIndex extends TestBase { ...@@ -714,7 +714,7 @@ public class TestIndex extends TestBase {
// There are additional callers like JdbcConnection.prepareCommand() and // There are additional callers like JdbcConnection.prepareCommand() and
// CommandContainer.recompileIfReqired() // CommandContainer.recompileIfReqired()
for (StackTraceElement element : Thread.currentThread().getStackTrace()) { for (StackTraceElement element : Thread.currentThread().getStackTrace()) {
if (element.getClassName() == Select.class.getName()) { if (element.getClassName().startsWith(Select.class.getName())) {
testFunctionIndexCounter++; testFunctionIndexCounter++;
break; break;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论