Repository: atlas
Updated Branches:
  refs/heads/master d343a4860 -> 2bb7f7784


ATLAS-2637: migration-import updates - fix for UT failure


Project: http://git-wip-us.apache.org/repos/asf/atlas/repo
Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/2bb7f778
Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/2bb7f778
Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/2bb7f778

Branch: refs/heads/master
Commit: 2bb7f778443d3a0fdceb4e5bb7a434f1fd3cdc45
Parents: d343a48
Author: Madhan Neethiraj <mad...@apache.org>
Authored: Wed May 23 00:29:08 2018 -0700
Committer: Madhan Neethiraj <mad...@apache.org>
Committed: Wed May 23 00:29:08 2018 -0700

----------------------------------------------------------------------
 .../repository/migration/RelationshipCacheGeneratorTest.java   | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/atlas/blob/2bb7f778/repository/src/test/java/org/apache/atlas/repository/migration/RelationshipCacheGeneratorTest.java
----------------------------------------------------------------------
diff --git 
a/repository/src/test/java/org/apache/atlas/repository/migration/RelationshipCacheGeneratorTest.java
 
b/repository/src/test/java/org/apache/atlas/repository/migration/RelationshipCacheGeneratorTest.java
index 362990f..050bda3 100644
--- 
a/repository/src/test/java/org/apache/atlas/repository/migration/RelationshipCacheGeneratorTest.java
+++ 
b/repository/src/test/java/org/apache/atlas/repository/migration/RelationshipCacheGeneratorTest.java
@@ -61,8 +61,6 @@ public class RelationshipCacheGeneratorTest {
     public void createLookup() {
         final String PROCESS_INPUT_KEY = "__Process.inputs";
         final String PROCESS_OUTPUT_KEY = "__Process.outputs";
-        String ONE_TO_TWO_STR = ONE_TO_TWO.toString();
-        String TWO_TO_ONE_STR = TWO_TO_ONE.toString();
 
         Map<String, RelationshipCacheGenerator.TypeInfo> cache = 
RelationshipCacheGenerator.get(typeRegistry);
         assertEquals(cache.size(), getLegacyAttributeCount() - 1);
@@ -72,10 +70,10 @@ public class RelationshipCacheGeneratorTest {
         }
 
         assertEquals(cache.get(PROCESS_INPUT_KEY).getTypeName(), 
"dataset_process_inputs");
-        assertEquals(cache.get(PROCESS_INPUT_KEY).getPropagateTags(), 
ONE_TO_TWO_STR);
+        assertEquals(cache.get(PROCESS_INPUT_KEY).getPropagateTags(), 
TWO_TO_ONE);
 
         assertEquals(cache.get(PROCESS_OUTPUT_KEY).getTypeName(), 
"process_dataset_outputs");
-        assertEquals(cache.get(PROCESS_OUTPUT_KEY).getPropagateTags(), 
TWO_TO_ONE_STR);
+        assertEquals(cache.get(PROCESS_OUTPUT_KEY).getPropagateTags(), 
ONE_TO_TWO);
     }
 
     private int getLegacyAttributeCount() {

Reply via email to