Re: [JBoss-dev] Re: [JBoss-dev] org.jboss.test.jbossmq.test.ExpiryDestinationTestCase

2006-03-29 Thread Adrian Brock
http://jira.jboss.com/jira/browse/JBAS-3027

On Wed, 2006-03-29 at 12:26 +0100, Adrian Brock wrote:
> It is a new test for a new feature done by Genman.
> 
> 2000 messages sounds a bit stupid for a unit test.
> 
> I'd guess this is a timing issue since there
> is no synchronization with the server state,
> just a sleep of 1 second, hoping that all those
> messages get processed in that time and the
> cpu is not busy doing something else like
> downloading your e-mail. :-)
> 
> This test also doesn't tidyup after itself.
> It leaves all those messages in the DLQ!
> 
> On Wed, 2006-03-29 at 01:07 -0600, Scott M Stark wrote:
> > I'm seeing this org.jboss.test.jbossmq.test.ExpiryDestinationTestCase
> > fail due to timing issues? The test is failing because the dlq count is
> > not 2000. Its both below and above. Is this a reliable test?
> >  
> > 
> > Scott Stark
> > VP Architecture & Technology
> > JBoss Inc.
> >  
> >  
> > 
> > 
> > ---
> > This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> > that extends applications into web and mobile media. Attend the live webcast
> > and join the prime developer group breaking into this new coding territory!
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
> > ___
> > JBoss-Development mailing list
> > JBoss-Development@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/jboss-development
-- 

Adrian Brock
Chief Scientist
JBoss Inc.




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] Re: [JBoss-dev] org.jboss.test.jbossmq.test.ExpiryDestinationTestCase

2006-03-29 Thread Adrian Brock
It is a new test for a new feature done by Genman.

2000 messages sounds a bit stupid for a unit test.

I'd guess this is a timing issue since there
is no synchronization with the server state,
just a sleep of 1 second, hoping that all those
messages get processed in that time and the
cpu is not busy doing something else like
downloading your e-mail. :-)

This test also doesn't tidyup after itself.
It leaves all those messages in the DLQ!

On Wed, 2006-03-29 at 01:07 -0600, Scott M Stark wrote:
> I'm seeing this org.jboss.test.jbossmq.test.ExpiryDestinationTestCase
> fail due to timing issues? The test is failing because the dlq count is
> not 2000. Its both below and above. Is this a reliable test?
>  
> 
> Scott Stark
> VP Architecture & Technology
> JBoss Inc.
>  
>  
> 
> 
> ---
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
> ___
> JBoss-Development mailing list
> JBoss-Development@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jboss-development
-- 

Adrian Brock
Chief Scientist
JBoss Inc.




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development