Uploaded image for project: 'Couchbase Java Client'
  1. Couchbase Java Client
  2. JCBC-1825 Fix JVM CI issues
  3. JCBC-1826

SearchIntegrationTest.simpleSearch not returning expected number of rows

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None
    • None
    • 1

    Description

      http://sdk.jenkins.couchbase.com/job/jvm/job/jvm-clients/job/couchbase-jvm-clients-scipted-build-pipeline/762/testReport/junit/com.couchbase.client.java/SearchIntegrationTest/testing__Linux__cbdyncluster_6_5__AdoptOpenJDK_11____simpleSearch/

       

      Error Message

      expected: <[68d4af31-7726-434d-9440-063711abec23]> but was: <[]>

      Stacktrace

      org.opentest4j.AssertionFailedError: expected: <[68d4af31-7726-434d-9440-063711abec23]> but was: <[]> at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55) at org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62) at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182) at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177) at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1124) at com.couchbase.client.java.SearchIntegrationTest.lambda$simpleSearch$0(SearchIntegrationTest.java:91) at com.couchbase.client.java.SearchIntegrationTest.runWithRetry(SearchIntegrationTest.java:107) at com.couchbase.client.java.SearchIntegrationTest.simpleSearch(SearchIntegrationTest.java:81)

       

      I'm confused why the assertion is inside the retry loop?  Won't that just fail the test rather than retry?

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            daschl Michael Nitschinger
            graham.pople Graham Pople
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty