Jason Huynh created GEODE-3025:
----------------------------------

             Summary: CI failure: 
org.apache.geode.cache.lucene.LuceneQueriesClientDUnitTest.transactionWithLuceneQueriesShouldThrowException
                 Key: GEODE-3025
                 URL: https://issues.apache.org/jira/browse/GEODE-3025
             Project: Geode
          Issue Type: Bug
          Components: lucene
            Reporter: Jason Huynh


The issue is that the client can sometimes execute in a transaction if single 
hop is enabled but not if single hop is disabled. 

org.apache.geode.cache.lucene.LuceneQueriesClientDUnitTest > 
transactionWithLuceneQueriesShouldThrowException(PARTITION_WITH_CLIENT) [0] 
FAILED
    org.apache.geode.test.dunit.RMIException: While invoking 
org.apache.geode.cache.lucene.LuceneQueriesClientDUnitTest$$Lambda$57/2004630790.run
 in VM 3 running on Host priapus.apache.org with 4 VMs
        at org.apache.geode.test.dunit.VM.invoke(VM.java:377)
        at org.apache.geode.test.dunit.VM.invoke(VM.java:347)
        at org.apache.geode.test.dunit.VM.invoke(VM.java:292)
        at 
org.apache.geode.cache.lucene.LuceneQueriesClientDUnitTest.transactionWithLuceneQueriesShouldThrowException(LuceneQueriesClientDUnitTest.java:88)

        Caused by:
        org.apache.geode.cache.lucene.LuceneQueryException: Lucene Query cannot 
be executed within a transaction
            at 
org.apache.geode.cache.lucene.internal.LuceneQueryImpl.findTopEntries(LuceneQueryImpl.java:124)
            at 
org.apache.geode.cache.lucene.internal.LuceneQueryImpl.findPages(LuceneQueryImpl.java:98)
            at 
org.apache.geode.cache.lucene.internal.LuceneQueryImpl.findPages(LuceneQueryImpl.java:94)
            at 
org.apache.geode.cache.lucene.LuceneQueriesClientDUnitTest.lambda$transactionWithLuceneQueriesShouldThrowException$30c11d8e$1(LuceneQueriesClientDUnitTest.java:96)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to