diff options
author | Dustin Sallings <dustin@spy.net> | 2009-08-14 23:06:06 -0700 |
---|---|---|
committer | Dustin Sallings <dustin@spy.net> | 2009-08-14 23:06:06 -0700 |
commit | fba0a8919dd24c9dafa9459e4b046a58649392e0 (patch) | |
tree | 56aeef44b414d3d43a526e8bf648795bd11d3381 /t | |
parent | 50d7188502f635d41ca07bb1f7b666f7b54171f0 (diff) | |
download | memcached-fba0a8919dd24c9dafa9459e4b046a58649392e0.tar.gz |
Put a time limit on memcached processes started from within tests.
This solves the problem where certain test failures would cause
indefinite hangs as child processes refused to ever exit.
Diffstat (limited to 't')
-rw-r--r-- | t/lib/MemcachedTest.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/lib/MemcachedTest.pm b/t/lib/MemcachedTest.pm index c95a415..34d1085 100644 --- a/t/lib/MemcachedTest.pm +++ b/t/lib/MemcachedTest.pm @@ -159,7 +159,7 @@ sub new_memcached { croak("memcached binary not executable\n") unless -x _; unless ($childpid) { - exec "$exe $args"; + exec "$builddir/timedrun 600 $exe $args"; exit; # never gets here. } |