Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-7839

Pagination returns wrong results with ClusteredQueries

    Details

    • Steps to Reproduce:
      Hide

      Change org.infinispan.query.blackbox.ClusteredQueryTest#prepareTestData so that two Persons are written to cacheAMachine1 and other two are written to cacheAMachine2.
      testPagination() will fail with:

      java.lang.AssertionError: 
      Expected :45
      Actual   :30
       <Click to see difference>
      
      Show
      Change org.infinispan.query.blackbox.ClusteredQueryTest#prepareTestData so that two Persons are written to cacheAMachine1 and other two are written to cacheAMachine2. testPagination() will fail with: java.lang.AssertionError: Expected :45 Actual :30 <Click to see difference>

      Description

      When using pagination (by specifying clusteredQuery.firstResult() and/or clusteredQuery.maxResults()), the returned results are wrong.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  gustavonalle Gustavo Fernandes
                  Reporter:
                  gustavonalle Gustavo Fernandes
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: