Added command timeout

This commit is contained in:
Erik C. Thauvin 2024-04-04 09:45:16 -07:00
parent b1c8c49fbc
commit 8b80ca1bc0
Signed by: erik
GPG key ID: 776702A6A2DA330E
4 changed files with 19 additions and 5 deletions

View file

@ -50,6 +50,7 @@ class ExecOperationTest {
tmpFile.deleteOnExit();
new ExecOperation()
.fromProject(new Project())
.timeout(10)
.command("touch", tmpFile.getName())
.fail(ExecFail.NORMAL)
.execute();