diff options
author | Brad King <brad.king@kitware.com> | 2009-01-09 16:44:46 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-01-09 16:44:46 (GMT) |
commit | 86b103f2713113327d1ee9325e1c635ec41e4009 (patch) | |
tree | 8efd8e63a1688c0c6dfbd92f0e6e12e895b8de0c /Source/kwsys/testProcess.c | |
parent | 0b33a44e4451baa665a7a56332ab798c2a176665 (diff) | |
download | CMake-86b103f2713113327d1ee9325e1c635ec41e4009.zip CMake-86b103f2713113327d1ee9325e1c635ec41e4009.tar.gz CMake-86b103f2713113327d1ee9325e1c635ec41e4009.tar.bz2 |
ENH: Extend kwsys.testProcess-4 timeout
The test is supposed to terminate quickly when its child crashes, but
that seems to take over 10s on busy systems. This extends the test's
timeout to 30s to help it pass when running on a busy system.
Diffstat (limited to 'Source/kwsys/testProcess.c')
-rw-r--r-- | Source/kwsys/testProcess.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/testProcess.c b/Source/kwsys/testProcess.c index 5b2e148..c148b81 100644 --- a/Source/kwsys/testProcess.c +++ b/Source/kwsys/testProcess.c @@ -457,7 +457,7 @@ int main(int argc, const char* argv[]) int values[8] = {0, 123, 1, 1, 0, 0, 0, 0}; int outputs[8] = {1, 1, 1, 1, 1, 0, 1, 1}; int delays[8] = {0, 0, 0, 0, 0, 1, 0, 0}; - double timeouts[8] = {10, 10, 10, 10, 30, 10, -1, 10}; + double timeouts[8] = {10, 10, 10, 30, 30, 10, -1, 10}; int polls[8] = {0, 0, 0, 0, 0, 0, 1, 0}; int repeat[8] = {2, 1, 1, 1, 1, 1, 1, 1}; int r; |