[
https://issues.apache.org/jira/browse/GEODE-2403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15856520#comment-15856520
]
ASF subversion and git services commented on GEODE-2403:
--------------------------------------------------------
Commit 80f8c26e13c0db8251e9384d58cc1e6a13b83e1b in geode's branch
refs/heads/develop from [~nnag]
[ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=80f8c26 ]
GEODE-2403: Increment query executed stats before lastResult
* The stat for number of queries executed is now incremented before the
lastResult call.
* Before, this was called in the finally block. This resulted in the
increment even if there was a exception.
> CI Failure:
> LuceneIndexCommandsDUnitTest.listIndexWithStatsShouldReturnCorrectStats
> -----------------------------------------------------------------------------------
>
> Key: GEODE-2403
> URL: https://issues.apache.org/jira/browse/GEODE-2403
> Project: Geode
> Issue Type: Bug
> Components: lucene
> Reporter: Dan Smith
>
> Failed with b529568dcd15b664a108d2cee5c783cb6b6ef79f
> {noformat}
> org.apache.geode.cache.lucene.internal.cli.LuceneIndexCommandsDUnitTest >
> listIndexWithStatsShouldReturnCorrectStats FAILED
> java.lang.AssertionError: expected:<[1]> but was:<[2]>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:834)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.junit.Assert.assertEquals(Assert.java:144)
> at
> org.apache.geode.cache.lucene.internal.cli.LuceneIndexCommandsDUnitTest.listIndexWithStatsShouldReturnCorrectStats(LuceneIndexCommandsDUnitTest.java:151)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)