Sarath Subramanian created ATLAS-1943:
-----------------------------------------
Summary: Fix IT failure due to incorrect inverse reference check
using relationship
Key: ATLAS-1943
URL: https://issues.apache.org/jira/browse/ATLAS-1943
Project: Atlas
Issue Type: Bug
Reporter: Sarath Subramanian
Assignee: Sarath Subramanian
Priority: Critical
Fix the following IT failures due to
Failed tests:
EntityJerseyResourceIT.testCompleteUpdate:952 » AtlasService Metadata
service ...
EntityJerseyResourceIT.testPartialUpdate:877 » AtlasService Metadata service
A...
After creating inverse reference, call is made to create relationship for
ownedRef attribute. This call fails when an edge already exists. The edge
exists as it was already created. Added getOrCreate relationship method to get
a relationship if it exists, if not create a new relationship.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)