Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-9496

Fix PropertiesFileLicenseLogTest failure on Jenkins

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 14.0.0
    • Fix Version/s: 12.0.4, 13.5.1, 14.0.0
    • Component/s: license
    • Labels:

      Description

      The PropertiesFileLicenseLogTest is failing on Jenkins after the move to Docker.

      The javadoc for File#canWrite https://docs.oracle.com/javase/8/docs/api/java/io/File.html#canWrite-- grew the following text in 8: "On some platforms it may be possible to start the Java virtual machine with special privileges that allow it to modify files that are marked read-only. Consequently this method may return true even though the file is marked read-only."

      It appears that our Docker contains meet this condition. I will therefore add a new skip condition if this is the case as the test is not valid.

        Attachments

          Activity

            People

            • Assignee:
              neil.madden Neil Madden
              Reporter:
              neil.madden Neil Madden
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: