Details
-
Improvement
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
Description
We need an integration test that
1) Has a domain jcr:path rule pointing to some jcr node, for example /test/folder
2) Make sure testUser belongs to this domain
And then run a test for x seconds where
1) There is a thread adding / removing the /test/folder node very fast. Also on occasion to include some extra behavior, add an extra child node sometimes for /folder
2) About a 100 threads containing the 'testUser' jcr session that are checking whether /test/folder exists
During the above test, we need to have correct expectations all the time wrt the node existing or not. The importance of this test is that it will trigger very frequently
org.hippoecm.repository.security.HippoAccessManager#processCreatedDestroyedNodeIds