[SCM] Debian packaging of Apache-Singleton CPAN distribution branch, master, updated. debian/0.14-1-5-ga1c6103

gregor herrmann gregoa at debian.org
Mon Apr 2 15:40:41 UTC 2012


The following commit has been merged in the master branch:
commit 0ec8be13d4f7d6a06f3505aa0dc8e510a611720f
Author: gregor herrmann <gregoa at debian.org>
Date:   Mon Apr 2 17:35:14 2012 +0200

    Add patch to use only one Apache child process in tests.
    
    Thanks: Niko Tyni for the analysis and the patch.
    Closes: #666601

diff --git a/debian/patches/0001-Only-use-one-Apache-child-process-for-testing.patch b/debian/patches/0001-Only-use-one-Apache-child-process-for-testing.patch
new file mode 100644
index 0000000..deb8854
--- /dev/null
+++ b/debian/patches/0001-Only-use-one-Apache-child-process-for-testing.patch
@@ -0,0 +1,38 @@
+Origin: vendor
+Bug: https://rt.cpan.org/Ticket/Display.html?id=76244
+Bug-Debian: http://bugs.debian.org/666601
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=76244
+Reviewed-by: gregor herrmann <gregoa at debian.org>
+Last-Update: 2012-04-02
+
+From d63e6400c68fd8a0bcdf399d3e973f2cc708dabc Mon Sep 17 00:00:00 2001
+From: Niko Tyni <ntyni at debian.org>
+Date: Sun, 1 Apr 2012 21:35:56 +0300
+Subject: [PATCH] Only use one Apache child process for testing
+
+As seen in <http://bugs.debian.org/666601>,
+t/apache/singleton/process/printer_instance.t occasionally
+fails in a non-deterministic way. This happens when sequential GET
+requests get served by different Apache child processes.
+
+The tests clearly expect only one process serving the pages, so limit
+MaxClients to one.
+---
+ t/conf/extra.conf.in |    1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/t/conf/extra.conf.in b/t/conf/extra.conf.in
+index 0cb6725..32cf82c 100644
+--- a/t/conf/extra.conf.in
++++ b/t/conf/extra.conf.in
+@@ -2,6 +2,7 @@
+     PerlOptions +GlobalRequest
+     # needed so $mod_perl::VERSION is available
+     PerlModule mod_perl2
++    MaxClients 1
+ </IfDefine>
+ <IfDefine APACHE1>
+     # needed so $mod_perl::VERSION is available
+-- 
+1.7.9.1
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e8c4739
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Only-use-one-Apache-child-process-for-testing.patch

-- 
Debian packaging of Apache-Singleton CPAN distribution



More information about the Pkg-perl-cvs-commits mailing list