You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Jason Dillon (JIRA)" <de...@geronimo.apache.org> on 2006/07/13 04:30:29 UTC

[jira] Created: (GERONIMO-2183) Timer tests will fail on slower machines; unit tests should not be enviornment dependent to pass

Timer tests will fail on slower machines; unit tests should not be enviornment dependent to pass
------------------------------------------------------------------------------------------------

         Key: GERONIMO-2183
         URL: http://issues.apache.org/jira/browse/GERONIMO-2183
     Project: Geronimo
        Type: Bug
    Security: public (Regular issues) 
    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.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-2183) Timer tests will fail on slower machines; unit tests should not be enviornment dependent to pass

Posted by "Jason Dillon (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Assigned: (GERONIMO-2183) Timer tests will fail on slower machines; unit tests should not be enviornment dependent to pass

Posted by "Jason Dillon (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-2183?page=all ]

Jason Dillon reassigned GERONIMO-2183:
--------------------------------------

    Assignee:     (was: Jason Dillon)

> Timer tests will fail on slower machines; unit tests should not be enviornment dependent to pass
> ------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-2183
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2183
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    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.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (GERONIMO-2183) Timer tests will fail on slower machines; unit tests should not be enviornment dependent to pass

Posted by "Jason Dillon (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-2183?page=all ]

Jason Dillon reassigned GERONIMO-2183:
--------------------------------------

    Assignee: Jason Dillon

> Timer tests will fail on slower machines; unit tests should not be enviornment dependent to pass
> ------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-2183
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2183
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 1.2
>            Reporter: Jason Dillon
>         Assigned To: 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.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (GERONIMO-2183) Timer tests will fail on slower machines; unit tests should not be enviornment dependent to pass

Posted by "Jason Dillon (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-2183?page=comments#action_12422547 ] 
            
Jason Dillon commented on GERONIMO-2183:
----------------------------------------

This is causing artificial failures which is and/or will slow down the m2 conversion RTC and may need to be resolved soonish.

> Timer tests will fail on slower machines; unit tests should not be enviornment dependent to pass
> ------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-2183
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2183
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 1.2
>            Reporter: Jason Dillon
>         Assigned To: 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.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira