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

Pagination returns wrong results with ClusteredQueries

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 9.1.0.Final
    • 9.0.0.Final
    • Embedded Querying
    • None
    • 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>

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

              gfernand@redhat.com Gustavo Fernandes (Inactive)
              gfernand@redhat.com Gustavo Fernandes (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: