probably the MV property of 'objectclass' might have a different order of values?
On Fri, Sep 4, 2015 at 8:11 AM, Davide Giannella <[email protected]> wrote: > On 03/09/2015 18:37, [email protected] wrote: >> Author: baedke >> Date: Thu Sep 3 16:37:40 2015 >> New Revision: 1701065 >> >> ... >> @Test >> + public void testGetUserProperties() throws Exception { >> + ExternalUser user = idp.getUser(TEST_USER1_UID); >> + assertNotNull("User 1 must exist", user); >> + List<String> multiValuePropValue = Arrays.asList(new String[] { >> "top", "person", "organizationalPerson", "inetOrgPerson"}); >> + Map<String, Object> properties = new ImmutableMap.Builder<String, >> Object>() >> + .put("uid", "hhornblo") >> + .put("mail", "[email protected]") >> + .put("givenname", "Horatio") >> + .put("description", "Capt. Horatio Hornblower, R.N") >> + .put("sn", "Hornblower") >> + .put("cn", "Horatio Hornblower") >> + .put("objectclass", multiValuePropValue) >> + .build(); >> + assertThat((Map<String, Object>) user.getProperties(), >> Matchers.<Map<String, Object>>equalTo(properties)); >> + } >> > > This test is making the build failing locally and on jenkins. Will > proceed with investigations and Ignore it in case to unlock the situation. > > https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/393/#showFailuresLink > > Davide > >
