Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [egit-dev] egit hudson build failure

2010/2/12 Matthias Sohn <matthias.sohn@xxxxxxxxxxxxxx>
2010/2/12 Shawn O. Pearce <spearce@xxxxxxxxxxx>

OK, I got through that.  Now my unit tests won't start under Maven
3.0a6 / Tycho 0.7.0:

When running your patch from maven CLI I hit :

...
org.apache.maven.surefire.testset.TestSetFailedException: Unable to create test class 'org.eclipse.egit.core.op.T0001_ConnectProviderOperationTest'; nested exception is java.lang.ClassNotFoundExceptio
n: org.eclipse.egit.core.op.T0001_ConnectProviderOperationTest
java.lang.ClassNotFoundException: org.eclipse.egit.core.op.T0001_ConnectProviderOperationTest
        at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:460)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
...
No clue yet why the test class isn't found, I can see it under target/classes. But after switching to Tycho 0.7 this
worked for me, so this must be something different.

I pushed an improved changeset [1] fixing these problems, hopefully we are back to green with this change.
The mess was caused by a mix of broken tests (mea culpa) a half baked switch to JUnit 4 and some errors in the
versioned dependency declarations.

[1] http://egit.eclipse.org/r/#change,302

--
Matthias

Back to the top