This is an automated email from the ASF dual-hosted git repository. madhan pushed a commit to branch branch-2.0 in repository https://gitbox.apache.org/repos/asf/atlas.git
commit 0aee6800bc66812ac964e9fa5d416b8f9ea9b972 Author: Nikhil Bonte <[email protected]> AuthorDate: Mon Nov 25 08:22:14 2019 -0800 ATLAS-3532: DSL: Fix for test case failure. Signed-off-by: Ashutosh Mestry <[email protected]> (cherry picked from commit e607ba1a8bc45d671fb76bf0c9c4059cda99d36d) --- .../src/test/java/org/apache/atlas/query/GremlinQueryComposerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/src/test/java/org/apache/atlas/query/GremlinQueryComposerTest.java b/repository/src/test/java/org/apache/atlas/query/GremlinQueryComposerTest.java index 959aa11..06db67d 100644 --- a/repository/src/test/java/org/apache/atlas/query/GremlinQueryComposerTest.java +++ b/repository/src/test/java/org/apache/atlas/query/GremlinQueryComposerTest.java @@ -169,7 +169,7 @@ public class GremlinQueryComposerTest { verify("Table where Asset.name like \"Tab*\"", "g.V().has('__typeName', 'Table').has('Asset.__s_name', org.janusgraph.core.attribute.Text.textRegex(\"Tab.*\")).dedup().limit(25).toList()"); verify("Table where owner like \"Tab*\"", - "g.V().has('__typeName', 'Table').has('Table.owner', org.janusgraph.core.attribute.Text.textContainsRegex(\"Tab.*\")).dedup().limit(25).toList()"); + "g.V().has('__typeName', 'Table').has('Table.owner', org.janusgraph.core.attribute.Text.textRegex(\"Tab.*\")).dedup().limit(25).toList()"); verify("Table where owner like \"*Tab_*\"", "g.V().has('__typeName', 'Table').has('Table.owner', org.janusgraph.core.attribute.Text.textRegex(\".*Tab_.*\")).dedup().limit(25).toList()"); verify("from Table where (db.name = \"Reporting\")",
