Re: [RELEASE CANDIDATE] Apache-Test-1.12

2004-06-25 Thread Stas Bekman
William McKee wrote:
On Thu, Jun 24, 2004 at 02:35:39PM -0400, William McKee wrote:
On Thu, Jun 24, 2004 at 09:30:29AM -0400, Geoffrey Young wrote:
please take the time to excercise the candidate through all your existing
applications that use Apache-Test and report back successes or failures.
Looks good for me.

Ooops, spoke too soon again. I'm still having problems with TestRun.pm
in Windows XP. Here's the output:
  [Thu Jun 24 17:21:56 2004] [error] [client 127.0.0.1] Statement unlikely to 
be reached at c:\TigerCub\perl5\5.8.3/Apache/TestRun.pm line 669.
  Compilation failed in require at c:\TigerCub\perl5\5.8.3/Apache/TestServer.pm 
line 25.
  BEGIN failed--compilation aborted at 
c:\TigerCub\perl5\5.8.3/Apache/TestServer.pm line 25.
  Compilation failed in require at c:\TigerCub\perl5\5.8.3/Apache/TestConfig.pm 
line 51.
  BEGIN failed--compilation aborted at 
c:\TigerCub\perl5\5.8.3/Apache/TestConfig.pm line 51.
  Compilation failed in require at c:\TigerCub\perl5\5.8.3/Apache/Test.pm line 
23.
  BEGIN failed--compilation aborted at c:\TigerCub\perl5\5.8.3/Apache/Test.pm 
line 23.
  Compilation failed in require at 
C:\TigerCub\t\response/Xfer/_get_next_valid_candidate.pm line 11.
  BEGIN failed--compilation aborted at 
C:\TigerCub\t\response/Xfer/_get_next_valid_candidate.pm line 11.
  Compilation failed in require at (eval 6) line 3.
Commenting out lines 669 and 1696 make it work fine. I remember having
this discussion a few months back but did not find a solution.
Apparently it is still an issue.
Yup, but it was an issue with previous A-T releases as well, so it's not a 
showstopper. Someone who can reproduce this problem ought to find a fix. 
Commenting out code is not quite a fix.

--
__
Stas BekmanJAm_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


Re: A::T - Running tests against multiple servers

2004-06-25 Thread Stas Bekman
William McKee wrote:
Hi,
Here's an interesting problem I've come across. I have an application
that is occassionally retrieving duplicate data from a BerkeleyDB. I've
written a couple tests which, so far, cannot duplicate the problem (one
using a direct database interface and another using A::T).
This has led me to believe that the problem must result from a different
Apache process interfering with an already running process (there is a
gap between reading the record and deleting it whereby another process
could come in and read the record again). Thus, I need to get A::T to
run several clients in synch against my application in order to hound
out this error.
Is there a way to do this with A::T or should I be using another
utility?
You can do that easily:
1) start the server:
t/TEST -start
2) start as many clients as you want (e.g. 3 clients):
t/TEST -run [tests] 
t/TEST -run [tests] 
t/TEST -run [tests] 
--
__
Stas BekmanJAm_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


Re: [RELEASE CANDIDATE] Apache-Test-1.12

2004-06-25 Thread Geoffrey Young

 Commenting out lines 669 and 1696 make it work fine. I remember having
 this discussion a few months back but did not find a solution.
 Apparently it is still an issue.
 
 
 Yup, but it was an issue with previous A-T releases as well, so it's not
 a showstopper. Someone who can reproduce this problem ought to find a
 fix. Commenting out code is not quite a fix.

agreed.

if nobody reports anything new over the weekend I'll release on monday so we
get the TestMB stuff out there.

--Geoff


Re: [RELEASE CANDIDATE] Apache-Test-1.12

2004-06-25 Thread David Wheeler
On Jun 25, 2004, at 8:23 AM, Geoffrey Young wrote:
nope.  I think apache.org has been having email issues - my announce 
came 3
hours later, and a bunch of messages were duplicated.  or maybe it was 
just me.
No, I'm on the road and just found out that the network I'm on has 
sendmail stuff locked down. They gave me access to their internal SMTP 
server, and now I'm golden. :-)

Apache::TestMB isn't in the distribution
because it's not in MANIFEST.
blarg.  a revised candidate is in the same place.  sorry about that.
Thanks, I'll try it later today.
Regards,
David


Re: [RELEASE CANDIDATE] Apache-Test-1.12

2004-06-25 Thread Geoffrey Young


David Wheeler wrote:
 On Jun 25, 2004, at 8:31 AM, David Wheeler wrote:
 
 blarg.  a revised candidate is in the same place.  sorry about that.


 Thanks, I'll try it later today.
 
 
 Works great for me! Only issue I'm seeing is that
 Crequests_redirectable = 0 isn't working on one of my FreeBSD boxes,
 which can break tests. Curious...I'll see about adding a test soon.

check the version of lwp - IIRC there was a behavior change in recent versions.

--Geoff


Re: [RELEASE CANDIDATE] Apache-Test-1.12

2004-06-25 Thread David Wheeler
On Jun 25, 2004, at 12:02 PM, Geoffrey Young wrote:
check the version of lwp - IIRC there was a behavior change in recent 
versions.
You could be right. I have the latest, 5.79, on that box, and 5.76 on 
my other boxes. Seems like it might make sense to fix that before 
releasing 1.12. I'll look at it later today if you don't beat me to it. 
It'll be tomorrow at the soonest I can send a patch, though.

Regards,
David


Re: [RELEASE CANDIDATE] Apache-Test-1.12

2004-06-25 Thread David Wheeler
On Jun 25, 2004, at 1:49 PM, David Wheeler wrote:
You could be right. I have the latest, 5.79, on that box, and 5.76 on 
my other boxes. Seems like it might make sense to fix that before 
releasing 1.12. I'll look at it later today if you don't beat me to 
it. It'll be tomorrow at the soonest I can send a patch, though.
Hrm, nope. I just installed the latest on another box and the 
redirection still works properly. Odd...

Regards,
David