> Hi Geoff,

hey randy.  hope you had a nice vacation :)

>     I've tried this out on Win32 - nice work! Just a small
> thing - in src/modules/perl/modperl_apache.c, there's a
> declaration of 'int j' in modperl_apache_resort_hooks() that
> VC++ didn't like occurring so late - moving it up near the
> beginning where 'int i' is declared fixes that.

ok, I'll fix that.  I am running my final test now before committing.

>    However, when running the tests, what happens is that the
> tests are first run, with 01first passing and 02last and
> 03mix being skipped. Then the server shuts down, and is
> restarted with -DReallyLast, 

since these are startup-only directives, that's the only way I could think
to do it - shutdown and restart the server a few times, each time with a
different config.

> but it times out (I raised the
> timeout to 240 seconds, but this didn't help).

argh.  are you using the latest CVS, with the new "-D [space] DEFINE" stuff?
 steve mentioned a hanging apache.exe, maybe that's conflicting with the
restart?

> I've attached
> the error_log - does that help in seeing what goes wrong?

> [Sun Feb 29 22:11:42 2004] [crit] (OS 6)The handle is invalid.  : Child 3168: 
> WAIT_FAILED -- shutting down server
> [Sun Feb 29 22:11:42 2004] [debug] child.c(695): Child 3168: Worker thread 19 
> starting.
> [Sun Feb 29 22:11:42 2004] [warn] (OS 995)The I/O operation has been aborted because 
> of either a thread exit or an application request.  : winnt_accept: Asynchronous 
> AcceptEx failed.

well, win32 is a mystery to me.  maybe the A-T shutdown logic isn't as nice
as we would like.

I suppose you can add a few 'sleep N' calls to TEST.PL to see if giving it
some extra time to shutdown helps.  or you could just comment out each
different startup in TEST.PL (or just TEST if you don't feel like running
Makefile.PL each time) and run each one at a time.

just to make sure it's the A-T logic and not the new patch, I'd be curious
if running the same test again from TEST.PL gives the same result without
patched sources. that is, without the test ordering foo added to the
mod_perl sources, can you

  Apache::TestRunPerl->new->run(@ARGV, '-defines', '');
  Apache::TestRunPerl->new->run(@ARGV, '-defines', '');

from t/TEST and have it work?

sorry to make you go through all this, though, especially when you're
testing for my benefit :)  but thanks a ton for taking the time.

--Geoff


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

Reply via email to