Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 9515 invoked from network); 3 Aug 2004 04:45:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Aug 2004 04:45:33 -0000 Received: (qmail 28341 invoked by uid 500); 3 Aug 2004 04:45:12 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 28202 invoked by uid 500); 3 Aug 2004 04:45:11 -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 Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 28167 invoked by uid 99); 3 Aug 2004 04:45:11 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO,SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [208.42.156.1] (HELO corb.mc.mpls.visi.com) (208.42.156.1) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 02 Aug 2004 21:45:07 -0700 Received: from sweetums.wibdio.net (c-66-41-158-180.mn.client2.attbi.com [66.41.158.180]) by corb.mc.mpls.visi.com (Postfix) with ESMTP id D53358D20 for ; Mon, 2 Aug 2004 23:44:51 -0500 (CDT) Received: by sweetums.wibdio.net (Postfix, from userid 500) id 2F5E51577A9; Mon, 2 Aug 2004 23:44:51 -0500 (CDT) Date: Mon, 2 Aug 2004 23:44:51 -0500 From: David Blevins To: dev@geronimo.apache.org Subject: Unit/Stress Tests Message-ID: <20040803044451.GA10310@sweetums.ce1.client2.attbi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2i X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N In my mind stress tests and unit tests are different things. Stress tests should not be run with the unit tests as part of a regular build. They would be in the same src/test dir, but everything matching *StressTest.java would be excluded. We should be running these with some separate maven goal like 'maven test:stress' or something similar (a similar thing could perhaps be done with the integration tests in openejb, 'maven test:integration'). My motivation is two fold. One, the stress tests slow the build down so much that it's clear people are trying to get by without having to build everything--frequently breaking builds is a tell-tale sign. Two, if we are going to do stress tests, which is good, we should really go all out and hammer the server. I'm talking about tests that nail the server for like a half an hour filling up pools, trashing memory, stretching the thread count, and generally pushing things to their limit. We already do nightly build/test runs on several machines, it would be fairly trivial to setup a machine to run the stress tests as well. Though it would be better to use dedicated hardware for these as the resource consumption would go beyond responsible usage of boxes performing other critical tasks. Thoughts? -David