You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2010/03/03 22:44:29 UTC

svn commit: r918708 - /qpid/trunk/qpid/cpp/src/tests/test_watchdog

Author: aconway
Date: Wed Mar  3 21:44:29 2010
New Revision: 918708

URL: http://svn.apache.org/viewvc?rev=918708&view=rev
Log:
Increase test_watchdog interval to avoid spurious test failures.

Modified:
    qpid/trunk/qpid/cpp/src/tests/test_watchdog

Modified: qpid/trunk/qpid/cpp/src/tests/test_watchdog
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/tests/test_watchdog?rev=918708&r1=918707&r2=918708&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/tests/test_watchdog (original)
+++ qpid/trunk/qpid/cpp/src/tests/test_watchdog Wed Mar  3 21:44:29 2010
@@ -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."



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org