[ 
https://issues.apache.org/jira/browse/ATLAS-2081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16137978#comment-16137978
 ] 

Sneha Kanekar commented on ATLAS-2081:
--------------------------------------

In the response returned, it can be clearly seen that the updated entities have 
3 entries whereas the expected value is 1.
{code:borderStyle=solid}
2017-08-19 05:26:25,576 INFO  - [main:] ~ Response = 
{"requestId":"qtp1941699766-1273 - 
7519dd83-aa95-4baa-95cf-9c4cb04c8ea6","entities":{"created":["ae339773-08d0-4635-bb5c-e5b94fb9e7da"],"updated":["ae339773-08d0-4635-bb5c-e5b94fb9e7da","12c7780d-e239-422c-b3b7-68b8570b2dae","12c7780d-e239-422c-b3b7-68b8570b2dae"]},"definition":{"jsonClass":"org.apache.atlas.typesystem.json.InstanceSerialization$_Reference","id":{"jsonClass":"org.apache.atlas.typesystem.json.InstanceSerialization$_Id","id":"ae339773-08d0-4635-bb5c-e5b94fb9e7da","version":0,"typeName":"hive_column","state":"ACTIVE"},"typeName":"hive_column","values":{"name":"col1QPkya7wkem","description":"col1","qualifiedName":"default.table.col1@col1QPkya7wkem","comment":"col1
 
comment","position":0,"owner":"user1","type":"string","table":{"jsonClass":"org.apache.atlas.typesystem.json.InstanceSerialization$_Id","id":"12c7780d-e239-422c-b3b7-68b8570b2dae","version":0,"typeName":"hive_table","state":"ACTIVE"}},"traitNames":[],"traits":{},"systemAttributes":{"createdBy":"admin","modifiedBy":"admin","createdTime":"2017-08-19T05:26:25.528Z","modifiedTime":"2017-08-19T05:26:25.528Z"}},"guidAssignments":{"-934643717853058":"ae339773-08d0-4635-bb5c-e5b94fb9e7da"}}
 (AtlasBaseClient:334)
{code}

> Test EntityJerseyResourceIT#testPartialUpdate fails consistently
> ----------------------------------------------------------------
>
>                 Key: ATLAS-2081
>                 URL: https://issues.apache.org/jira/browse/ATLAS-2081
>             Project: Atlas
>          Issue Type: Bug
>          Components: atlas-intg
>    Affects Versions: 0.9-incubating
>         Environment: Ubuntu:14.04
> $java -version
> openjdk version "1.8.0_111"
> OpenJDK Runtime Environment (build 1.8.0_111-8u111-b14-3~14.04.1-b14)
> OpenJDK 64-Bit Server VM (build 25.111-b14, mixed mode)
>            Reporter: Sneha Kanekar
>              Labels: ppc64le, x86
>
> The integration test 
> org.apache.atlas.web.integration.EntityJerseyResourceIT.testPartialUpdate 
> fails consistently with java assertion error. The error message is as follows:
> {code:borderStyle=solid}
> java.lang.AssertionError: expected:<1> but was:<3>
>       at 
> org.apache.atlas.web.integration.EntityJerseyResourceIT.testPartialUpdate(EntityJerseyResourceIT.java:881)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to