geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Dillon (JIRA)" <j...@apache.org>
Subject [jira] Updated: (GERONIMO-2183) Timer tests will fail on slower machines; unit tests should not be enviornment dependent to pass
Date Thu, 14 Jun 2007 17:36:25 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-2183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jason Dillon updated GERONIMO-2183:
-----------------------------------

    Component/s: core

> Timer tests will fail on slower machines; unit tests should not be enviornment dependent
to pass
> ------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-2183
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-2183
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: core
>    Affects Versions: 1.2
>            Reporter: Jason Dillon
>            Priority: Critical
>
> Due to the usage of Thread.sleep() in the unit tests (very bad IMO)... and expecting
a certain number of invocations in a set period of time, the Timer unit tests can fail when
run on slower hardware, or on moderate hardware that is incurring a moderate to high load
at the time the tests are run.
> Tests should not be dependent on the environment they run in... more so on the availability
of cycles to process the test to determine the success or failure of the test.
> The timer tests should be revisited and augmented to produce valid results even on slower
or highly loaded systems.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message