summaryrefslogtreecommitdiff
path: root/qpid/cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-03-03 21:44:29 +0000
committerAlan Conway <aconway@apache.org>2010-03-03 21:44:29 +0000
commitce396e3bdba95f2316a222699caf1ffe74ee8aeb (patch)
treeaf3593e6720eb255c50727ff17615805f309d860 /qpid/cpp
parent8d3304fb6985dd3fc2a0dd1da2a78e71dd39f1b8 (diff)
downloadqpid-python-ce396e3bdba95f2316a222699caf1ffe74ee8aeb.tar.gz
Increase test_watchdog interval to avoid spurious test failures.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@918708 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
-rwxr-xr-xqpid/cpp/src/tests/test_watchdog4
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/src/tests/test_watchdog b/qpid/cpp/src/tests/test_watchdog
index 5afdaa5e24..2b4ae9246e 100755
--- a/qpid/cpp/src/tests/test_watchdog
+++ b/qpid/cpp/src/tests/test_watchdog
@@ -23,10 +23,10 @@
source ./test_env.sh
# Start a broker with watchdog, freeze it with kill -STOP, verify that it is killed.
-PORT=`$QPIDD_EXEC -dp0 --no-data-dir --auth=no --no-module-dir --load-module $WATCHDOG_LIB --log-to-file=qpidd_watchdog.log --watchdog-interval 1` || exit 1
+PORT=`$QPIDD_EXEC -dp0 --no-data-dir --auth=no --no-module-dir --load-module $WATCHDOG_LIB --log-to-file=qpidd_watchdog.log --watchdog-interval 2` || exit 1
PID=`$QPIDD_EXEC --no-module-dir -cp $PORT` || exit 1
kill -STOP $PID
-sleep 2
+sleep 3
if kill -0 $PID 2>/dev/null; then
echo "Hung process did not die."