Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-884

Add simple randomized test

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.14
    • run
    • None

    Description

      Taking as example org.apache.jackrabbit.oak.plugins.mongomk.RandomizedTest it would be nice to have some randomized test also for the ACL evaluation.

      The logic for the upcoming test patch is to add/remove randomly read permission entry and traverse the tree evaluation the read permission.

      The result is compared with a Jackrabbit (that is considered as a functional gold implementation) outcome and it is expected to match.
      Should not match then we have a problem...

      Patch to follow

      Attachments

        1. OAK-884-patch.txt
          11 kB
          Antonio Sanso
        2. OAK-884-patch.txt
          12 kB
          Antonio Sanso
        3. OAK-884-patch.txt
          14 kB
          Antonio Sanso

        Issue Links

          Activity

            People

              Unassigned Unassigned
              asanso Antonio Sanso
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: