mirror of
https://github.com/apache/openjpa.git
synced 2025-03-06 16:39:11 +00:00
OPENJPA-823 Removed assertion from test due to variability in JREs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@727841 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3fd11d82ab
commit
0e6a3bd79d
@ -50,7 +50,9 @@ public class TestSchemaVersionValidation extends TestCase {
|
||||
emf.close();
|
||||
fail();
|
||||
} catch (Exception e) {
|
||||
assert(!e.getMessage().contains("SAXException"));
|
||||
// JREs fail differently for this test. Detection and
|
||||
// assertion of a JRE specific failure has shown to be error prone
|
||||
// so only a generic exception is detected.
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user