easysoa / EasySOA

A light, collaborative platform to make Service Oriented Architecture simple.
http://www.easysoa.org
35 stars 8 forks source link

Junit tests with mandatory order fail randomly on jdk7 #134

Open mdutoo opened 11 years ago

mdutoo commented 11 years ago

Junit tests where test methods must be executed in the defined manner (such as WSDLParsingTest) fail in a non deterministic manner on jdk7.

Cause : Class.getDeclaredMethods() returns random ordered results since jdk7 : http://sourceforge.net/p/jumble/bugs/10/

Solution :

Else if it tests consecutive steps of a whole (such as WSDLParsingTest) :