You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by ni...@apache.org on 2019/06/26 12:51:01 UTC

[atlas] branch master updated: ATLAS-3307 :- UT fix to add Tag propagation property which is not configured for all tags #59

This is an automated email from the ASF dual-hosted git repository.

nixon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/atlas.git


The following commit(s) were added to refs/heads/master by this push:
     new ab7c8cd  ATLAS-3307 :- UT fix to add Tag propagation property which is not configured for all tags #59
ab7c8cd is described below

commit ab7c8cd514bf3f911113d20b8b45dc4609401435
Author: anshulpathak <an...@gmail.com>
AuthorDate: Wed Jun 26 05:50:56 2019 -0700

    ATLAS-3307 :- UT fix to add Tag propagation property which is not configured for all tags #59
---
 .../repository/tagpropagation/ClassificationPropagationTest.java    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/repository/src/test/java/org/apache/atlas/repository/tagpropagation/ClassificationPropagationTest.java b/repository/src/test/java/org/apache/atlas/repository/tagpropagation/ClassificationPropagationTest.java
index ea441ac..9d6d057 100644
--- a/repository/src/test/java/org/apache/atlas/repository/tagpropagation/ClassificationPropagationTest.java
+++ b/repository/src/test/java/org/apache/atlas/repository/tagpropagation/ClassificationPropagationTest.java
@@ -282,9 +282,9 @@ public class ClassificationPropagationTest {
         AtlasEntity employees_union_table   = getEntity(EMPLOYEES_UNION_TABLE);
 
         AtlasClassification tag1 = new AtlasClassification("tag1"); tag1.setPropagate(true); tag1.setEntityGuid(hdfs_employees.getGuid());
-        AtlasClassification tag2 = new AtlasClassification("tag2"); tag1.setPropagate(true); tag2.setEntityGuid(employees2_table.getGuid());
-        AtlasClassification tag3 = new AtlasClassification("tag3"); tag1.setPropagate(true); tag3.setEntityGuid(employees_union_process.getGuid());
-        AtlasClassification tag4 = new AtlasClassification("tag4"); tag1.setPropagate(true); tag4.setEntityGuid(employees_union_table.getGuid());
+        AtlasClassification tag2 = new AtlasClassification("tag2"); tag2.setPropagate(true); tag2.setEntityGuid(employees2_table.getGuid());
+        AtlasClassification tag3 = new AtlasClassification("tag3"); tag3.setPropagate(true); tag3.setEntityGuid(employees_union_process.getGuid());
+        AtlasClassification tag4 = new AtlasClassification("tag4"); tag4.setPropagate(true); tag4.setEntityGuid(employees_union_table.getGuid());
 
         // add tag1 to hdfs_employees, tag2 to employees2, tag3 to process3, tag4 to employees_union
         addClassification(hdfs_employees, tag1);