You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "David Radley (JIRA)" <ji...@apache.org> on 2017/01/05 17:13:58 UTC
[jira] [Created] (ATLAS-1431) Integration tests added by ATLAS 1311
fail on Eclipse
David Radley created ATLAS-1431:
-----------------------------------
Summary: Integration tests added by ATLAS 1311 fail on Eclipse
Key: ATLAS-1431
URL: https://issues.apache.org/jira/browse/ATLAS-1431
Project: Atlas
Issue Type: Bug
Reporter: David Radley
It looks like the unit tests are run in a different order in Eclipse and this causes 6 unit test failures.
The reason for the failures is that an invalid attribute that had been added to a structure as part of a previous test is picked up in a test that is not expecting invalid attributes causing a null pointer.
I propose to patch this by removing the invalid attribute from the cached structure so it does not cause any problems later.
method testInvalidStructDef_MultiValuedAttributeNotArray() is where the invalid attribute is injected.
testStructDefAddAttribute() ,we issue ModelTestUtil.newStructDef(); and realize we have the invalid attribute.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)