[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tests: avoid a spurious timeout on a heavily-loaded system
From: |
Pádraig Brady |
Subject: |
Re: tests: avoid a spurious timeout on a heavily-loaded system |
Date: |
Fri, 13 Nov 2009 23:02:42 +0000 |
User-agent: |
Thunderbird 2.0.0.6 (X11/20071008) |
I think the last check in timeout-parameters needs
the same treatment?
cheers,
Pádraig.
commit 05327326c6f66650c685e26b777140782d300233
Author: Pádraig Brady <address@hidden>
Date: Fri Nov 13 22:52:14 2009 +0000
tests: avoid a spurious failure on a loaded system
* tests/misc/timeout-parameters: This test would fail due to
the 1-second timeout expiring before a command of "no_such"
could be exec'd and fail. Increase to 10 seconds.
diff --git a/tests/misc/timeout-parameters b/tests/misc/timeout-parameters
index f41c837..a39c4ca 100755
--- a/tests/misc/timeout-parameters
+++ b/tests/misc/timeout-parameters
@@ -56,7 +56,7 @@ timeout 10 .
test $? = 126 || fail=1
# no such command
-timeout 1 no_such
+timeout 10 no_such
test $? = 127 || fail=1
Exit $fail