You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by sa...@apache.org on 2020/02/01 04:41:39 UTC

[atlas] branch branch-2.0 updated: ATLAS-3605 : Test case failure due to addition of two fields displayName and userDescription to base model

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

sarath pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/atlas.git


The following commit(s) were added to refs/heads/branch-2.0 by this push:
     new c9d8aac  ATLAS-3605 : Test case failure due to addition of two fields displayName and userDescription to base model
c9d8aac is described below

commit c9d8aacb1dded20c909e1ca4c9909656f4400b9a
Author: sidmishra <si...@cloudera.com>
AuthorDate: Fri Jan 31 15:08:50 2020 -0800

    ATLAS-3605 : Test case failure due to addition of two fields displayName and userDescription to base model
    
    Signed-off-by: Sarath Subramanian <sa...@apache.org>
    (cherry picked from commit 121ccbd8549a0ead4ab8e0258024317ba8b75a14)
---
 .../org/apache/atlas/web/integration/EntityJerseyResourceIT.java | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/webapp/src/test/java/org/apache/atlas/web/integration/EntityJerseyResourceIT.java b/webapp/src/test/java/org/apache/atlas/web/integration/EntityJerseyResourceIT.java
index f5abb7c..8ece444 100755
--- a/webapp/src/test/java/org/apache/atlas/web/integration/EntityJerseyResourceIT.java
+++ b/webapp/src/test/java/org/apache/atlas/web/integration/EntityJerseyResourceIT.java
@@ -881,6 +881,8 @@ public class EntityJerseyResourceIT extends BaseResourceIT {
         values.put("position", 0);
         values.put("description", "col1");
         values.put("table", tableId); //table is a required reference, can't be null
+        values.put("userDescription", null);
+        values.put("displayName", null);
 
         Referenceable ref = new Referenceable(BaseResourceIT.COLUMN_TYPE_BUILTIN, values);
         columns.add(ref);
@@ -932,6 +934,8 @@ public class EntityJerseyResourceIT extends BaseResourceIT {
         values.put("position", 0);
         values.put("description", "col1");
         values.put("table", tableId); //table is a required reference, can't be null
+        values.put("userDescription", null);
+        values.put("displayName", null);
 
         Referenceable ref = new Referenceable(BaseResourceIT.COLUMN_TYPE_BUILTIN, values);
         columns.add(ref);
@@ -983,7 +987,8 @@ public class EntityJerseyResourceIT extends BaseResourceIT {
         values1.put("position", 0);
         values1.put("description", "col3");
         values1.put("table", tableId);
-
+        values1.put("userDescription", null);
+        values1.put("displayName", null);
 
         Map<String, Object> values2 = new HashMap<>();
         values2.put(NAME, "col4");
@@ -994,6 +999,8 @@ public class EntityJerseyResourceIT extends BaseResourceIT {
         values2.put("position", 1);
         values2.put("description", "col4");
         values2.put("table", tableId);
+        values2.put("userDescription", null);
+        values2.put("displayName", null);
 
         Referenceable ref1 = new Referenceable(BaseResourceIT.COLUMN_TYPE_BUILTIN, values1);
         Referenceable ref2 = new Referenceable(BaseResourceIT.COLUMN_TYPE_BUILTIN, values2);