Skip to content

Commit

Permalink
Improve error message when call to xattr times out and increase timeo…
Browse files Browse the repository at this point in the history
…ut to 60s
  • Loading branch information
matthiasblaesing committed May 10, 2022
1 parent 485fb55 commit 19daca8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -157,7 +157,7 @@ public void testReadAlignedCliTool() throws IOException {

public void testWriteAlignedCliTool() throws IOException, InterruptedException {
Process p = Runtime.getRuntime().exec(new String[] {"xattr", "-w", "JNA", "Java Native Access", testPath});
assertTrue(p.waitFor(30, TimeUnit.SECONDS));
assertTrue("Wait for CLI xattr call timed out", p.waitFor(60, TimeUnit.SECONDS));
String resultString = XAttrUtil.getXAttr(testPath, "JNA");
assertEquals("Java Native Access", resultString);
}
Expand Down

0 comments on commit 19daca8

Please sign in to comment.