You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by Angela Schreiber <an...@adobe.com> on 2013/01/23 20:02:21 UTC

Missing index configuration in AbstractSecurityTest (was: [jira] [Updated] (OAK-443) UserInitializer causes repository traversal)

hi alex

> All tests pass but everything extending AbstractSecurityTest doesn't use any kind of indexes for the tests.
> I would have liked to add the p2 ones (Property2IndexHookProvider, Property2IndexProvider) to the tests but then some of them start failing (the ExternalLoginModuleTest and another one).
> I don't think that is a problem, but I thought it's work mentioning anyway.

i just had a quick look which tests are failing and why:

- tests in AccessControlValidatorTest fail due to OAK-396 as they
   try to create 2 ACE entries for the same test principal, which
   obviously was perfectly legal ;-)
   but i can work around this as it's not relevant for the test
   which principal name is specified.

- tests in ExternalLoginModuleTest fail due to OAK-343.
   we can tmp mark those tests @Ignore... but imho OAK-343 is overdue
   as well...

kind regards
angela


[0] https://issues.apache.org/jira/browse/OAK-396
[1] https://issues.apache.org/jira/browse/OAK-343