From b8970bef857640b035e90cc81b8e62848f80fd2e Mon Sep 17 00:00:00 2001 From: ChrisERo Date: Mon, 10 Jan 2022 19:20:28 -0500 Subject: [PATCH] fix: reduced time spent sleeping in SLEEPTY exechooks --- test_exechook_command_fail_with_sleep.sh | 2 +- test_exechook_command_with_sleep.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test_exechook_command_fail_with_sleep.sh b/test_exechook_command_fail_with_sleep.sh index 492e4a1..321f3d5 100755 --- a/test_exechook_command_fail_with_sleep.sh +++ b/test_exechook_command_fail_with_sleep.sh @@ -17,6 +17,6 @@ # Use for e2e test of --exechook-command. # This option takes no command arguments, so requires a wrapper script. -sleep 4 +sleep 3 date >> /var/log/runs exit 1 diff --git a/test_exechook_command_with_sleep.sh b/test_exechook_command_with_sleep.sh index c494308..78d633c 100755 --- a/test_exechook_command_with_sleep.sh +++ b/test_exechook_command_with_sleep.sh @@ -17,6 +17,6 @@ # Use for e2e test of --exechook-command. # This option takes no command arguments, so requires a wrapper script. -sleep 4 +sleep 3 cat file > exechook cat ../link/file > link-exechook