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

Pagination returns wrong results with ClusteredQueries

    XMLWordPrintable

Details

    • 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.

      Attachments

        Issue Links

          Activity

            People

              gfernand@redhat.com Gustavo Fernandes (Inactive)
              gfernand@redhat.com Gustavo Fernandes (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: