Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 67541 invoked from network); 21 Jul 2006 05:16:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Jul 2006 05:16:30 -0000 Received: (qmail 64816 invoked by uid 500); 21 Jul 2006 05:16:27 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 64777 invoked by uid 500); 21 Jul 2006 05:16:27 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 64766 invoked by uid 99); 21 Jul 2006 05:16:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jul 2006 22:16:27 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jul 2006 22:16:26 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4D432410009 for ; Fri, 21 Jul 2006 05:14:14 +0000 (GMT) Message-ID: <27605892.1153458854306.JavaMail.jira@brutus> Date: Thu, 20 Jul 2006 22:14:14 -0700 (PDT) From: "Jason Dillon (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Assigned: (GERONIMO-2183) Timer tests will fail on slower machines; unit tests should not be enviornment dependent to pass In-Reply-To: <1794328.1152757829762.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ 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