surajmall commented on PR #437:
URL: 
https://github.com/apache/jackrabbit-filevault/pull/437#issuecomment-6164245626

   Added a regression test 
`PackageInstallIT#testHookNotInstantiatedForNotAllowedNonAdminUser`: it 
installs a hook-bearing package as a not-allowed non-admin user, where the 
hook's **constructor** records its own instantiation. The test asserts the 
install is rejected *and* that the hook constructor is never invoked. It fails 
against the previous (instantiate-before-check) ordering and passes with this 
change. Full `PackageInstallIT` suite is green (38 tests) on the Oak-max 
execution.


-- 
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]

Reply via email to