I know about the 'skip' option, but I would prefer the test to work. How can I expect continuum to work if the tests fail?
I'm running Fedora Core 5 linux on amd64 with java version "1.5.0_06" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05) Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_06-b05, mixed mode) and Maven 2.0.4. I was building revision 465267. Let me know if I can help with further debug info. greetz Philippe On Wed, 2006-10-18 at 12:59 -0400, Joakim Erdfelt wrote: > The automated unit testing of continuum-release is very hit and miss. > Hard to track down. > > For some people it works every time. > For others it works randomly. > Even a few people report that the tests work only after executing them > multiple times. > > What I'd like to know is what the differences in environment are between > all of these developers? > What OS? > What JDK? > What version of Maven? > etc ... > > - Joakim > > ben short wrote: > > Hi Philippe, > > > > I wanted to do the same to see if there where any cool new features > > andran into the same problem. > > > > if you do mvn -Dmaven.test.failure.ignore=true package you can grab > > the war and deploy it tomcat ( or an app server of your choice ) > > you'll then need to setup 2 jndi jdbc resources which you can see the > > names for in the log file. > > > > I was hoping to see the release stuff like the maestro project server > > has. I guess this is a feature that has been added by the guys at > > mergere. > > > > Anyway just set the flag and you will get a bit further. > > > > Ben > > > > On 10/18/06, Philippe Faes <[EMAIL PROTECTED]> wrote: > >> Dear all, > >> > >> I'd like to get my hands diry on continuum, but I cannot build the > >> continuum trunk http://svn.apache.org/repos/asf/maven/continuum/trunk by > >> running > >> mvn clean install > >> Is this a temprary issue or am I doing something wrong? > >> > >> Also, can I compile (and run the tests) while I have a production > >> continuum-1.0.3 running on the default ports? > >> > >> thanks > >> Philippe > >> > >> > >> ------------------------------------------------------------------------------- > >> > >> Test set: > >> org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest > >> ------------------------------------------------------------------------------- > >> > >> Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 2.773 > >> sec <<< FAILURE! > >> testReleaseSimpleProject(org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest) > >> > >> Time elapsed: 1.724 sec <<< FAILURE! > >> junit.framework.AssertionFailedError: Test dev version > >> at junit.framework.Assert.fail(Assert.java:47) > >> at junit.framework.Assert.assertTrue(Assert.java:20) > >> at > >> org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest.testReleaseSimpleProject(ReleaseTaskExecutorTest.java:96) > >> > >> > >> testReleaseSimpleProjectWithNextVersion(org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest) > >> > >> Time elapsed: 0.992 sec <<< FAILURE! > >> junit.framework.AssertionFailedError: Test dev version > >> at junit.framework.Assert.fail(Assert.java:47) > >> at junit.framework.Assert.assertTrue(Assert.java:20) > >> at > >> org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest.testReleaseSimpleProjectWithNextVersion(ReleaseTaskExecutorTest.java:132) > >> > >> > >> -- > >> ir. Philippe Faes > >> Ghent University - Department ELIS > >> Sint-Pietersnieuwstraat 41 -- B-9000 Gent > >> Tel:+32 9 264 95 25 - Fax:+32 9 264 35 94 > >> http://www.elis.UGent.be/~pfaes > >> ON5DEU -- LPIC1 -- gpg-key:173720B6 > >> > >> > > > -- Philippe Faes <[EMAIL PROTECTED]>