Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 92739 invoked from network); 5 Jan 2008 19:34:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jan 2008 19:34:52 -0000 Received: (qmail 11188 invoked by uid 500); 5 Jan 2008 19:34:40 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 11132 invoked by uid 500); 5 Jan 2008 19:34:40 -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 11121 invoked by uid 99); 5 Jan 2008 19:34:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Jan 2008 11:34:40 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [69.147.102.65] (HELO smtp102.plus.mail.re1.yahoo.com) (69.147.102.65) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 05 Jan 2008 19:34:27 +0000 Received: (qmail 27478 invoked from network); 5 Jan 2008 19:34:18 -0000 Received: from unknown (HELO ?192.168.2.101?) (drw_web@75.177.164.142 with plain) by smtp102.plus.mail.re1.yahoo.com with SMTP; 5 Jan 2008 19:34:17 -0000 X-YMail-OSG: WoMOdpAVM1lIXKs7fZbgHlG0reuCgJ5XWDR1IEutg0B9uGST9ep27VDhKRe4TF8iXkwX6ZQ51g-- Message-ID: <477FDBB8.6030704@apache.org> Date: Sat, 05 Jan 2008 14:34:16 -0500 From: Donald Woods User-Agent: Thunderbird 2.0.0.6 (X11/20070812) MIME-Version: 1.0 To: dev@geronimo.apache.org Subject: Re: Running integration tests by default? References: <2553C225-E8ED-46EA-899B-0FCA8852FF22@yahoo.com> <412D2B81-6403-4EA9-8EBE-6AE0138C371E@yahoo.com> <477EA015.5010000@apache.org> <22C702C6-B36B-4EAA-AFE2-859AAE6034CF@yahoo.com> In-Reply-To: <22C702C6-B36B-4EAA-AFE2-859AAE6034CF@yahoo.com> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms040901080604060909040406" X-Virus-Checked: Checked by ClamAV on apache.org This is a cryptographically signed message in MIME format. --------------ms040901080604060909040406 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Taking another hour to run the IT tests on Tomcat and Jetty (on top of the 30 mins. to run a full build) is just too much wasted time in my busy schedule... :-) Besides, we have Prasad's scheduled builds running with IT on several times a day, which is close enough to continuous builds to catch build breaks. I'd rather see more automated builds with every build running the IT instead of forcing it as the default on all our developers. If someone is working on an isolated piece of code (like Console portlets or non-core plugin like remote mgmt or clustering) then I don't see how always running IT would outweigh the decreased productivity of increased build times... Also, there have been 4 console tests broken for well over a week now, with no apparent rush to fix them, so everyone is now used to ignoring the Build Failure notices.... -Donald David Jencks wrote: > > On Jan 4, 2008, at 1:07 PM, Donald Woods wrote: > >> How about not running the integration tests by default and letting >> those who want them either 1) use a "-P testsuite" option from trunk >> or 2) run mvn inside the testsuite subdir? > (2) is what we had before my change and didn't work for me -- I never > ran the testsuite. > > My thinking on my change is: > > 1. Its better to run more tests. For instance if you see a IT failure > on your machine I think you are much more likely to fix it than if you > have to wait for the notification from Prasad's automation. I think > this is why we have unit tests as well :-) > 2. People are lazy and don't like to type, so the default option should > include the maximum level of testing. > 3. In the case of the testsuite, these are run after the rest of the > build is complete, so you are free to interrupt the build if you get too > bored/impatient. > > Could you explain why you disagree with this or what factors you > consider more important? > > thanks > david jencks > >> >> -Donald >> >> >> David Jencks wrote: >>> On Jan 2, 2008, at 7:58 AM, Prasad Kashyap wrote: >>>> On Dec 31, 2007 4:41 PM, David Jencks wrote: >>>>> First of all I appear to have broken the build last night with some >>>>> changes to get the roller plugin building again. I think I've >>>>> managed to fix all the problems -- the it tests all pass for me. Let >>>>> me know if there are still problems. >>>>> >>>>> I think its still too hard to run the integration tests. >>>> >>>> I would like to know what exactly you think is hard about it. It would >>>> be great if you could please share your thoughts and ideas on making >>>> it simpler. >>> I didn't see a way to run the integration tests with the main build >>> without a separate command. Unless I can run everything in one >>> command, I'm pretty sure laziness will take over and I won't run the >>> integration tests. >>>> >>>>> I've made a >>>>> possibly annoying change so that the default build includes IT. If >>>>> you don't want them run >>>>> >>>>> mvn clean install -P no-it >>>>> >>>>> If this is too annoying we could reverse the profiles and have the >>>>> default leave out the it as before and a with-it profile that >>>>> includes them. >>>> >>>> Yeah. I think the default profile should not run the IT. IMHO, I think >>>> it should not even run the unit tests by default. Developers (should) >>>> run unit & IT tests before committing their code. And we have >>>> automation builds with all tests that run 4 times a day anyways. So >>>> the default profile can well do away with tests. But that may just be >>>> my opinion. >>> After working through some hard problem and getting ready to commit >>> the last thing anyone wants to do is remember a second command or >>> even a command line option to run some tests: they are apt to type >>> the simplest command that will check the build. I think that command >>> should run all the tests, including the integration tests. Even >>> though there's enough time to go eat dinner while they run, our most >>> comprehensive checks will be run. If you get too bored you can >>> always stop the build after you think enough stuff has been checked, >>> and if you remember you can run the build with options to turn off >>> whatever tests you want to skip. >>> ApacheDS had their integration tests run using an option and most >>> people did not run them due to the extra effort of trying to remember >>> to type more on the command line. I think they've changed so the >>> integration tests are run by default. >>> I'm happy to keep talking about this.... and I'll be happy enough >>> with a "with-it" option, but I think running everything by default is >>> the best strategy. >>>> >>>>> >>>>> Comments? >>>>> >>>>> This might have bad effects on Prasad's automation but I'm not sure >>>>> how that is run. >>>> >>>> For now, the automation builds have been modified to use the no-it >>>> profile. >>>> >>> thanks! >>> david jencks >>>>> >>>>> thanks && Happy New Year! >>>>> david jencks >>>> >>>> Happy New Year to ya'll ! >>>> Prasad > > --------------ms040901080604060909040406 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJAzCC AtwwggJFoAMCAQICEGl0fFJRFoUogDNHr2j130gwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA3MDQwMzE5MDgwOFoX DTA4MDQwMjE5MDgwOFowQzEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEgMB4G CSqGSIb3DQEJARYRZHdvb2RzQGFwYWNoZS5vcmcwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw ggEKAoIBAQDENBaTcon2Q3/v2plog9ympNR5IWM94JDvXhWanc1Qz07/sIerwI99WZ4z0AAV wBelazRFCsXkFCaNDM1sOJ0gx4I+KISb5XoX/omAhYIs+Cwac2hitDraZE2Q7x281nLn4TPR d29GVpUZVKsaDvmvnDAagGTEkOfHBx/yUihzshJn4S6n6vahimEWWXn5Qw4Oj5Muvz8iKGoA MilrHZrfSKvCqT0LhGaFnZhrMvqeCguf0/IlP6YJ2kBmouV3XHFUaiai4PQZ7ahtbW7meKb4 b25QUjIFJHIr0KhJXqoGADRAlBgTaqWBIKbdTmYBsr55aasjp5TU+XAxiqFr1FoTAgMBAAGj LjAsMBwGA1UdEQQVMBOBEWR3b29kc0BhcGFjaGUub3JnMAwGA1UdEwEB/wQCMAAwDQYJKoZI hvcNAQEFBQADgYEAJReGzfwY5+BY6PuXJQLURKni6kBaFi7Z7b+tjn6iTdlZhbSF9YHazHIJ 9J6oaOzfG28JroaAlk9PeAvbC38f2kaU4bWQgm6yp6308ZRyM8V3CHXe6Wm9bXiJeZCRTpix Mvxo+mWG2Jq0vnfjWx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