gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r26678 - gnunet/src/integration-tests


From: gnunet
Subject: [GNUnet-SVN] r26678 - gnunet/src/integration-tests
Date: Sat, 30 Mar 2013 17:18:08 +0100

Author: LRN
Date: 2013-03-30 17:18:08 +0100 (Sat, 30 Mar 2013)
New Revision: 26678

Added:
   gnunet/src/integration-tests/test_buildslave_hangup.py
Modified:
   gnunet/src/integration-tests/Makefile.am
Log:
A temporary test for buildslave process killing

Modified: gnunet/src/integration-tests/Makefile.am
===================================================================
--- gnunet/src/integration-tests/Makefile.am    2013-03-30 16:02:45 UTC (rev 
26677)
+++ gnunet/src/integration-tests/Makefile.am    2013-03-30 16:18:08 UTC (rev 
26678)
@@ -33,10 +33,19 @@
 endif
 # test_integration_disconnect.py 
 
-
+# This temporary test does one thing: hangs up for 1300 seconds
+# to test buildslave hangup process killing functionality
+# It's in integration tests because integration-tests is one of the few
+# tests that are configured to run under more-than-1200-seconds watchdog
+if MINGW
+  hangup_SCRIPTS = test_buildslave_hangup.py
+else
+  hangup_SCRIPTS = 
+endif
 if HAVE_MHD
 if ENABLE_TEST_RUN
 TESTS = \
+ $(hangup_SCRIPTS) \
  $(check_SCRIPTS)  
 endif
 endif

Added: gnunet/src/integration-tests/test_buildslave_hangup.py
===================================================================
--- gnunet/src/integration-tests/test_buildslave_hangup.py                      
        (rev 0)
+++ gnunet/src/integration-tests/test_buildslave_hangup.py      2013-03-30 
16:18:08 UTC (rev 26678)
@@ -0,0 +1,7 @@
+#!/bin/python
+import sys
+import time 
+
+print ("This test hangs up for 1300 seconds to see how buildslave will go 
about killing it")
+time.sleep (1300)
+sys.exit (0)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]