woj-tek commented on PR #1476:
URL: https://github.com/apache/james-project/pull/1476#issuecomment-1472800579
I fixed some tests (relying on the actual value of
`DefaultMailboxes.DEFAULT_MAILBOXES`), but there are some that still fails:
1)
`org.apache.james.mpt.imapmailbox.suite.Condstore#condstoreShouldBeEnableWhenGivenAndTrue`
- this one seems to be unrelated to default mailboxes
2) tests in `org.apache.james.jmap.rfc8621`, for example
`org.apache.james.jmap.rfc8621.contract.BackReferenceContract.resolvingAnUnexistingMethodCallIdShouldFail`
- the difference in the length is obvious but the order of the list seems
random at best?
```
net.javacrumbs.jsonunit.core.internal.Opentest4jExceptionFactory$JsonAssertError:
JSON documents are different:
Array "methodResponses[0][1].list" has different length, expected: <6> but
was: <7>.
Array "methodResponses[0][1].list" has different content. Extra values:
[{"id":"7"}], expected:
<[{"id":"1"},{"id":"5"},{"id":"2"},{"id":"3"},{"id":"4"},{"id":"6"}]> but was:
<[{"id":"1"},{"id":"6"},{"id":"5"},{"id":"2"},{"id":"3"},{"id":"4"},{"id":"7"}]>
Different value found in node "methodResponses[0][1].list[1].id", expected:
<"5"> but was: <"6">.
Different value found in node "methodResponses[0][1].list[2].id", expected:
<"2"> but was: <"5">.
Different value found in node "methodResponses[0][1].list[3].id", expected:
<"3"> but was: <"2">.
Different value found in node "methodResponses[0][1].list[4].id", expected:
<"4"> but was: <"3">.
Different value found in node "methodResponses[0][1].list[5].id", expected:
<"6"> but was: <"4">.
```
Btw. One question, why some tests are in `main` and not in `tests`
directories?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]