[jboss-jira] [JBoss JIRA] Created: (JBAS-4291) PeriodTestCase - wrong computation of maxDeviation
Vivek Lakshmanan (JIRA)
jira-events at lists.jboss.org
Tue Apr 3 18:26:58 EDT 2007
PeriodTestCase - wrong computation of maxDeviation
--------------------------------------------------
Key: JBAS-4291
URL: http://jira.jboss.com/jira/browse/JBAS-4291
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Test Suite
Affects Versions: JBossAS-4.2.0.CR1, JBossAS-5.0.0.Beta1, JBossAS-4.0.5.CR1
Reporter: Vivek Lakshmanan
Assigned To: Vivek Lakshmanan
Priority: Minor
Fix For: JBossAS-5.0.0.Beta2, JBossAS-4.2.0.GA, JBossAS-4.0.5.SP1
Dominik Pospisil reports the following:
The calculation for maximum deviation org.jboss.test.jbossmx.compliance.timer.PeriodTestCase, line 195
is incorrect and can lead to misleading failures on some testcases.
long maxDeviation = expected / percentage;
should be corrected to:
long maxDeviation = expected * percentage / 100;
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list