Thanks Marvin. That makes sense. I am on a relatively less powerful
machine and the failure is only intermittent so it's not that much of a
pain. 

On a similar topic, may I suggest that we up the logging level for tests
to WARN to try and reduce the build time? Again this might be just me, but
it on average takes about 8-10 minutes for me to complete the build. I am
wondering if a logging adjustment can improve performance. 

-Misagh



> -----Original Message-----
> From: Marvin Addison [mailto:[email protected]]
> Sent: Tuesday, August 14, 2012 11:42 AM
> To: [email protected]
> Subject: Re: [cas-dev] Running tests on cas:master - testThrottle()
fails
> randomly?
> 
> > Building from master at "/cas-server", I get the following test to
> > fail randomly at times when I execute "mvn clean test":
> > -
> >
>
testThrottle(org.jasig.cas.web.support.InspektrThrottledSubmissionByIpAddr
ess
> AndUsernameHandlerInterceptorAdapterTests):
> > expected:<403> but was:<200>
> 
> I've seen it but the failure has always been transient.  That said, I'm
not
> surprised that you've observed it to fail repeatedly.  The test is very
> sensitive to relatively small time intervals and what is a wide margin
on one
> platform may be unacceptably narrow on another.
> We could vote to disable by default and enable on an environment
variable or
> similar using Spring test profiles.  If other folks see the repetitive
> failure and it becomes a pain, I'd be in favor of disabling.
> 
> M
> 
> --
> You are currently subscribed to [email protected] as:
> [email protected] To unsubscribe, change settings or access archives,
see
> http://www.ja-sig.org/wiki/display/JSG/cas-dev


-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-dev

Reply via email to