[EMAIL PROTECTED] wrote:
stas 2003/08/26 16:28:04
Modified: lib/ModPerl TestRun.pm Added: t/modules proxy.t t/response/TestModules proxy.pm Log: new test: converting a normal request to a proxy request - requires to bump up the number of maxclients to 2
this is a pretty big deal, as mod_perl tests have always run against a single available server. are we sure that this isn't going to be problematic on some platforms (namely win32, as usual :)? though I guess from the docs MaxClients is meaningless to that mpm.
it also probably warrants something in Changes.
Revision Changes Path
1.11 +7 -0 modperl-2.0/lib/ModPerl/TestRun.pm
Index: TestRun.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/lib/ModPerl/TestRun.pm,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- TestRun.pm 26 Aug 2003 22:19:19 -0000 1.10
+++ TestRun.pm 26 Aug 2003 23:28:04 -0000 1.11
@@ -5,8 +5,15 @@
use base qw(Apache::TestRunPerl);
+# some mp2 tests require more than one server instance to be available
+# without which the server may hang, waiting for the single server
+# become available
+use constant MIN_MAXCLIENTS => 2;
+
sub new_test_config {
my $self = shift;
+
+ $self->{conf_opts}->{maxclients} = MIN_MAXCLIENTS;
that's an oddly named constant for setting MaxClients. :)
--Geoff
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
