Randy Kobes wrote:
On Sat, 11 Jan 2003, DH wrote:


I just got
mod_perl-1.99_08
and compiled it, and the test ran mostly fine
( results should show up at http://testers.cpan.org/search?request=dist&dist=mod_perl soon)

I saw that - the t/modperl/sameinterp.t failure I sometimes see
as well ... If you run the test as
perl -Mblib t/TEST t/modperl/sameinterp.t
does it run OK?
Since the same interpreter mechanism is really trying to get the same Perl interpreter so it can verify closures and similar things, it's possible that it may fail sometimes to pick one. Currently it tries 50 times and gives up if still not found. Should we use a different number of tries, or does win32 deterministically serves the unwanted interpreter all the time?

You can try to debug using the following patch. The output goes to the client's concole rather than error_log.

Index: Apache-Test/lib/Apache/TestRequest.pm
===================================================================
RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestRequest.pm,v
retrieving revision 1.73
diff -u -r1.73 TestRequest.pm
--- Apache-Test/lib/Apache/TestRequest.pm 6 Nov 2002 12:28:09 -0000 1.73
+++ Apache-Test/lib/Apache/TestRequest.pm 12 Jan 2003 01:29:22 -0000
@@ -480,6 +480,7 @@

if ($res and $res->code == 200) {
$found_same_interp = $res->header(INTERP_KEY) || '';
+ warn "Int: $found_same_interp\n";
}

unless ($found_same_interp eq $same_interp) {

__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to