Skip to content

Commit

Permalink
Extra logging to diagnose error in test
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-astachowski committed Oct 25, 2024
1 parent ca0f810 commit 52af9c5
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ public void testJDK14LoggingWithClientConfigPermissionError() throws IOException
perms.add(PosixFilePermission.OWNER_READ);
perms.add(PosixFilePermission.GROUP_READ);
perms.add(PosixFilePermission.OTHERS_READ);
System.out.println("Perms before: " + Files.getPosixFilePermissions(directoryPath));
Files.setPosixFilePermissions(directoryPath, perms);
System.out.println("Perms after: " + Files.getPosixFilePermissions(directoryPath));

Files.write(configFilePath, configJson.getBytes());
Properties properties = new Properties();
Expand Down

0 comments on commit 52af9c5

Please sign in to comment.