Re: MP2 - Make test Error - t/api/request_rec.t

[prev] [thread] [next] [Date index for 2005/01/11]

From: Stas Bekman
Subject: Re: MP2 - Make test Error - t/api/request_rec.t
Date: 00:04 on 11 Jan 2005
cfaust-dougot wrote:
>>>You realize that this is not an a-few-lines-test-case. How can we analyze
>>>or run it if it requires a database connection and non-existing
>>>auth_incoming_user and other functions. Please reduce it to the case that
>>>has no external dependencies and so that it still fails. I bet while you
>>>are reducing that you will find the problematic code.
> 
> 
> Sorry, I know its unrunable as it is, I was just hoping that showing it was a package and everything was called with a subroutine that I could have eliminated any problems with global values or anything of that nature - I'll try to do something to produce the same results without all the overhead.

It's possible that you create a closure somewhere, but you don't show that 
somewhere. Otherwise why would you have defined all those globals. Try to 
get rid of those and pass things by value.


        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

MP2 - Make test Error - t/api/request_rec.t
Chris Faust 15:59 on 09 Jan 2005

Re: MP2 - Make test Error - t/api/request_rec.t
Stas Bekman 16:17 on 10 Jan 2005

RE: MP2 - Make test Error - t/api/request_rec.t
cfaust-dougot 18:33 on 10 Jan 2005

Re: MP2 - Make test Error - t/api/request_rec.t
Stas Bekman 22:25 on 10 Jan 2005

RE: MP2 - Make test Error - t/api/request_rec.t
cfaust-dougot 20:02 on 10 Jan 2005

Re: MP2 - Make test Error - t/api/request_rec.t
Stas Bekman 22:35 on 10 Jan 2005

RE: MP2 - Make test Error - t/api/request_rec.t
cfaust-dougot 22:58 on 10 Jan 2005

Re: MP2 - Make test Error - t/api/request_rec.t
Stas Bekman 23:16 on 10 Jan 2005

RE: MP2 - Make test Error - t/api/request_rec.t
cfaust-dougot 23:41 on 10 Jan 2005

Re: MP2 - Make test Error - t/api/request_rec.t
Stas Bekman 00:04 on 11 Jan 2005

RE: MP2 - Make test Error - t/api/request_rec.t
cfaust-dougot 00:25 on 11 Jan 2005

Generated at 12:39 on 05 Feb 2005 by mariachi v0.52