Uploaded image for project: 'Couchbase Java Client'
  1. Couchbase Java Client
  2. JCBC-1105

Failing unit tests on Jenkins build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.5.0
    • None
    • None
    • None

    Description

      There are four unit tests that fail because of an ordering issue with JsonArray. Locally these all pass successfully, but when running on Jenkins CI, they fail.

      The output from Jenkins looks like this:

      shouldInjectCredentialsFromPairs
      expected:<{"creds":[\{"user":"bar","pass":"b"},\{"user":"foo","pass":"a"}]}>
      but was:<{"creds":[\{"user":"foo","pass":"a"},\{"user":"bar","pass":"b"}]}>
      shouldInjectCredentialsFromCredentialList
      expected:<{"creds":[\{"user":"bar","pass":"b"},\{"user":"foo","pass":"a"}]}>
      but was:<{"creds":[\{"user":"foo","pass":"a"},\{"user":"bar","pass":"b"}]}>
      shouldReplaceSameLoginCredentials
      expected:<{"creds":[\{"user":"bar","pass":"c"},\{"user":"foo","pass":"a"}]}>
      but was:<{"creds":[\{"user":"foo","pass":"a"},\{"user":"bar","pass":"c"}]}>
      testGetConfigureBucketPayload
      expected:<...se, customSettings={[foo=bar, baz=123]}}">
      but was:<...se, customSettings={[baz=123, foo=bar]}}">

      Attachments

        For Gerrit Dashboard: JCBC-1105
        # Subject Branch Project Status CR V

        Activity

          People

            daschl Michael Nitschinger
            mike.goldsmith Michael Goldsmith
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty