[Python-apps-commits] r6930 - in packages/pyrit/trunk/debian/patches (2 files)

chrisk-guest at users.alioth.debian.org chrisk-guest at users.alioth.debian.org
Fri Apr 15 18:51:09 UTC 2011


    Date: Friday, April 15, 2011 @ 18:51:04
  Author: chrisk-guest
Revision: 6930

Increase timeout value in unittests (for slower buildds)

Added:
  packages/pyrit/trunk/debian/patches/0015-increase-timeout-in-unittests.patch
Modified:
  packages/pyrit/trunk/debian/patches/series

Added: packages/pyrit/trunk/debian/patches/0015-increase-timeout-in-unittests.patch
===================================================================
--- packages/pyrit/trunk/debian/patches/0015-increase-timeout-in-unittests.patch	                        (rev 0)
+++ packages/pyrit/trunk/debian/patches/0015-increase-timeout-in-unittests.patch	2011-04-15 18:51:04 UTC (rev 6930)
@@ -0,0 +1,29 @@
+From: Christian Kastner <debian at kvr.at>
+Date: Wed, 13 Apr 2011 21:22:42 +0200
+Subject: Increase timeout in unit tests
+
+As suggested in the referenced bug report, the window timeout for some unit
+tests has been increased to ensure they are properly run on lower-performance
+architectures. 
+
+Bug: http://code.google.com/p/pyrit/issues/detail?id=293
+Forwarded: not-needed
+Last-Update: 2011-04-13
+
+Index: pyrit-0.4.0/test/test_pyrit.py
+===================================================================
+--- pyrit-0.4.0.orig/test/test_pyrit.py	2011-04-13 21:24:39.812009244 +0200
++++ pyrit-0.4.0/test/test_pyrit.py	2011-04-13 21:24:47.392002671 +0200
+@@ -438,10 +438,10 @@
+         self.cli.print_help()
+ 
+     def testSelfTest(self):
+-        self.cli.selftest(timeout=3)
++        self.cli.selftest(timeout=60)
+ 
+     def testBenchmark(self):
+-        self.cli.benchmark(timeout=3)
++        self.cli.benchmark(timeout=60)
+ 
+     @requires_pckttools()
+     def testHandshakes(self):

Modified: packages/pyrit/trunk/debian/patches/series
===================================================================
--- packages/pyrit/trunk/debian/patches/series	2011-04-15 18:49:14 UTC (rev 6929)
+++ packages/pyrit/trunk/debian/patches/series	2011-04-15 18:51:04 UTC (rev 6930)
@@ -1,2 +1,3 @@
 0006-custom-config-file.patch
 0014-performancecounter-handle-empty-result-gracefully.patch
+0015-increase-timeout-in-unittests.patch




More information about the Python-apps-commits mailing list