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
commit 142399c5dbd07d02026f2aecec74f1ee5451f251 Author: Ashutosh Mestry <[email protected]> AuthorDate: Thu Aug 1 08:58:49 2019 -0700 ATLAS-3355: BasicTestSetup: Long assigned to integer field. (cherry picked from commit 84be259863b4447f2bb898cc431bfb55e059b805) --- .../src/test/java/org/apache/atlas/query/BasicTestSetup.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/repository/src/test/java/org/apache/atlas/query/BasicTestSetup.java b/repository/src/test/java/org/apache/atlas/query/BasicTestSetup.java index 0bf8554..02f78b3 100644 --- a/repository/src/test/java/org/apache/atlas/query/BasicTestSetup.java +++ b/repository/src/test/java/org/apache/atlas/query/BasicTestSetup.java @@ -77,7 +77,7 @@ public abstract class BasicTestSetup { loadModelFromJson("0000-Area0/0010-base_model.json", typeDefStore, typeRegistry); baseLoaded = true; } catch (IOException | AtlasBaseException e) { - fail("Base model setup is required for test to run"); + fail("Base model setup is required for test to run!"); } } @@ -89,7 +89,7 @@ public abstract class BasicTestSetup { try { loadModelFromJson("1000-Hadoop/1030-hive_model.json", typeDefStore, typeRegistry); } catch (IOException | AtlasBaseException e) { - fail("Hive model setup is required for test to run"); + fail("Hive model setup is required for test to run!"); } AtlasEntity.AtlasEntitiesWithExtInfo hiveTestEntities = hiveTestEntities(); @@ -97,7 +97,7 @@ public abstract class BasicTestSetup { try { entityStore.createOrUpdate(new AtlasEntityStream(hiveTestEntities), false); } catch (AtlasBaseException e) { - fail("Hive instance setup is needed for test to run"); + fail("Hive entities need to be created for test to run!"); } } @@ -356,7 +356,7 @@ public abstract class BasicTestSetup { table.setAttribute("temporary", false); table.setAttribute("createTime", new Date(System.currentTimeMillis())); table.setAttribute("lastAccessTime", System.currentTimeMillis()); - table.setAttribute("retention", System.currentTimeMillis()); + table.setAttribute("retention", 5d); table.setAttribute("db", getAtlasObjectId(db)); table.setAttribute("sd", getAtlasObjectId(sd));
