Hi Tim,

Thanks for the reply. I have had a quick look at the failures that I get but 
you don't and they are performance type tests which explains why its not 
consistent...

 Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 44.134 sec <<< 
FAILURE!
testCountItems(org.dspace.content.CommunityCollectionIntegrationTest)  Time 
elapsed: 29.797 sec  <<< ERROR!
org.databene.contiperf.PerfTestFailure: Average execution time of 
org.dspace.content.CommunityCollectionIntegrationTest.testCountItems exceeded 
the requirement of 333 ms, measured 593.86 ms

The other failures are Exceptions thrown because the eperson does not have 
admin authority. I'll track down Pere and see if he can help and I'll raise a 
Jira for any required changes. 

Cheers, Robin.


 

Robin Taylor
Main Library
University of Edinburgh
Tel. 0131 6513808  

> -----Original Message-----
> From: Tim Donohue [mailto:tdono...@duraspace.org] 
> Sent: 30 August 2010 15:44
> To: TAYLOR Robin
> Cc: dspace-devel Developers; Pere Villega
> Subject: Re: [Dspace-devel] Unit tests failures
> 
> Hi Robin & all,
> 
> I actually get different results as Robin when I run the 
> following from [dspace-src]/dspace-test/
> 
> mvn package -Dmaven.test.skip=false
> 
> I still get failures, but I only see four failures:
> 
> Results :
> 
> Tests in error:
>      testEquals(org.dspace.content.CommunityTest)
>      testCreateAuth(org.dspace.content.CommunityTest)
>      testAddSubcommunityAuth(org.dspace.content.CommunityTest)
>      testRemoveSubcommunityAuth(org.dspace.content.CommunityTest)
> 
> Tests run: 500, Failures: 0, Errors: 4, Skipped: 0
> 
> This is based on the absolute latest Trunk (revision 5302).
> 
> Perhaps we should enter these issues into JIRA for review by 
> Pere or whoever else can get to it?
> 
> BTW -- I don't seem to be able to run 'mvn test' to run the 
> tests, as described in Pere's wiki docs (it always returns 
> 'tests are skipped'). 
> I always have to run 'mvn package -Dmaven.test.skip=false' 
> directly from the 'dspace-test' directory.
> 
> - Tim
> 
> 
> On 8/30/2010 8:12 AM, TAYLOR Robin wrote:
> > I'm getting the following failures in the unit tests and 
> wondered if anyone had already fixed them. I'm being lazy 
> here so if I don't get any replies then I'll get my finger 
> out and investigate.
> >
> > Cheers, Robin.
> >
> >
> > Results :
> >
> > Tests in error:
> >    testEquals(org.dspace.content.CommunityTest)
> >    testCreateAuth(org.dspace.content.CommunityTest)
> >    testAddSubcommunityAuth(org.dspace.content.CommunityTest)
> >    testRemoveSubcommunityAuth(org.dspace.content.CommunityTest)
> >    
> testCountItems(org.dspace.content.CommunityCollectionIntegrationTest)
> >    
> > 
> testCreateTree(org.dspace.content.CommunityCollectionIntegrationTest)
> >
> > Tests run: 500, Failures: 0, Errors: 6, Skipped: 0
> >
> >
> >
> > Robin Taylor
> > Main Library
> > University of Edinburgh
> > Tel. 0131 6513808
> 
-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to