[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: JBMESSAGING-1460 - ScheduledDeliveryTest on JBM 1.4
timfox
do-not-reply at jboss.com
Fri Dec 19 04:06:04 EST 2008
Howard-
Please **NEVER** hack tests to pass when there is a bug in the system (assertRemainingMessages(-1)) - this is extremely bad practice.
The test should be kept failing until the core issue is fixed.
-1 is clearly not a correct values for remaining messages.
Fudging tests is a sackable offence ;)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4197546#4197546
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4197546
More information about the jboss-dev-forums
mailing list