Details
-
Bug
-
Resolution: Fixed
-
Major
-
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 |
82241,2 | JCBC-1105: Make custom param settings deterministic in order. | master | couchbase-java-client | Status: MERGED | +2 | +1 |