[jira] [Commented] (ATLAS-3532) Test case failure in GremlinQueryComposerTest

2020-06-01 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/ATLAS-3532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17121404#comment-17121404
 ] 

ASF subversion and git services commented on ATLAS-3532:


Commit 0aee6800bc66812ac964e9fa5d416b8f9ea9b972 in atlas's branch 
refs/heads/branch-2.0 from Nikhil Bonte
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=0aee680 ]

ATLAS-3532: DSL: Fix for test case failure.

Signed-off-by: Ashutosh Mestry 
(cherry picked from commit e607ba1a8bc45d671fb76bf0c9c4059cda99d36d)


> Test case failure in GremlinQueryComposerTest
> -
>
> Key: ATLAS-3532
> URL: https://issues.apache.org/jira/browse/ATLAS-3532
> Project: Atlas
>  Issue Type: Bug
>Reporter: Nikhil Bonte
>Assignee: Nikhil Bonte
>Priority: Major
> Attachments: 
> ATLAS-3532-DSL-Composer-update-to-address-_-test-cas.patch, 
> ATLAS-3532-Test-case-failure-in-GremlinQueryComposer.patch
>
>
> {code:java}
> Tests run: 39, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 15.464 sec 
> <<< FAILURE! - in 
> org.apache.atlas.query.GremlinQueryComposerTestwhereClauseTextContains(org.apache.atlas.query.GremlinQueryComposerTest)
>   Time elapsed: 0.697 sec  <<< FAILURE!java.lang.AssertionError: Table where 
> owner like "Tab*" expected [g.V().has('__typeName', 
> 'Table').has('Table.owner', 
> org.janusgraph.core.attribute.Text.textContainsRegex("Tab.*")).dedup().limit(25).toList()]
>  but found [g.V().has('__typeName', 'Table').has('Table.owner', 
> org.janusgraph.core.attribute.Text.textRegex("Tab.*")).dedup().limit(25).toList()]
>  at org.testng.Assert.fail(Assert.java:94)
>  at org.testng.Assert.failNotEquals(Assert.java:496)
>  at org.testng.Assert.assertEquals(Assert.java:125)
>  at org.testng.Assert.assertEquals(Assert.java:178)
>  at 
> org.apache.atlas.query.GremlinQueryComposerTest.verify(GremlinQueryComposerTest.java:362)
>  at 
> org.apache.atlas.query.GremlinQueryComposerTest.verify(GremlinQueryComposerTest.java:371)
>  at 
> org.apache.atlas.query.GremlinQueryComposerTest.whereClauseTextContains(GremlinQueryComposerTest.java:170)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ATLAS-3532) Test case failure in GremlinQueryComposerTest

2020-06-01 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/ATLAS-3532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17121405#comment-17121405
 ] 

ASF subversion and git services commented on ATLAS-3532:


Commit 75949f6c7ceed2480097e8727e4aa4f62e4e2994 in atlas's branch 
refs/heads/branch-2.0 from Nikhil Bonte
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=75949f6 ]

ATLAS-3532: DSL Composer update to address '_' test case. Part #2

Signed-off-by: Ashutosh Mestry 
(cherry picked from commit 5955fcd1390910b714b13716b8c2ffc8fc5932d8)


> Test case failure in GremlinQueryComposerTest
> -
>
> Key: ATLAS-3532
> URL: https://issues.apache.org/jira/browse/ATLAS-3532
> Project: Atlas
>  Issue Type: Bug
>Reporter: Nikhil Bonte
>Assignee: Nikhil Bonte
>Priority: Major
> Attachments: 
> ATLAS-3532-DSL-Composer-update-to-address-_-test-cas.patch, 
> ATLAS-3532-Test-case-failure-in-GremlinQueryComposer.patch
>
>
> {code:java}
> Tests run: 39, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 15.464 sec 
> <<< FAILURE! - in 
> org.apache.atlas.query.GremlinQueryComposerTestwhereClauseTextContains(org.apache.atlas.query.GremlinQueryComposerTest)
>   Time elapsed: 0.697 sec  <<< FAILURE!java.lang.AssertionError: Table where 
> owner like "Tab*" expected [g.V().has('__typeName', 
> 'Table').has('Table.owner', 
> org.janusgraph.core.attribute.Text.textContainsRegex("Tab.*")).dedup().limit(25).toList()]
>  but found [g.V().has('__typeName', 'Table').has('Table.owner', 
> org.janusgraph.core.attribute.Text.textRegex("Tab.*")).dedup().limit(25).toList()]
>  at org.testng.Assert.fail(Assert.java:94)
>  at org.testng.Assert.failNotEquals(Assert.java:496)
>  at org.testng.Assert.assertEquals(Assert.java:125)
>  at org.testng.Assert.assertEquals(Assert.java:178)
>  at 
> org.apache.atlas.query.GremlinQueryComposerTest.verify(GremlinQueryComposerTest.java:362)
>  at 
> org.apache.atlas.query.GremlinQueryComposerTest.verify(GremlinQueryComposerTest.java:371)
>  at 
> org.apache.atlas.query.GremlinQueryComposerTest.whereClauseTextContains(GremlinQueryComposerTest.java:170)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ATLAS-3532) Test case failure in GremlinQueryComposerTest

2019-12-02 Thread Bolke de Bruin (Jira)


[ 
https://issues.apache.org/jira/browse/ATLAS-3532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16986402#comment-16986402
 ] 

Bolke de Bruin commented on ATLAS-3532:
---

Sorry got confused I guess. Master looks okay.

> Test case failure in GremlinQueryComposerTest
> -
>
> Key: ATLAS-3532
> URL: https://issues.apache.org/jira/browse/ATLAS-3532
> Project: Atlas
>  Issue Type: Bug
>Reporter: Nikhil Bonte
>Assignee: Nikhil Bonte
>Priority: Major
> Attachments: 
> ATLAS-3532-DSL-Composer-update-to-address-_-test-cas.patch, 
> ATLAS-3532-Test-case-failure-in-GremlinQueryComposer.patch
>
>
> {code:java}
> Tests run: 39, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 15.464 sec 
> <<< FAILURE! - in 
> org.apache.atlas.query.GremlinQueryComposerTestwhereClauseTextContains(org.apache.atlas.query.GremlinQueryComposerTest)
>   Time elapsed: 0.697 sec  <<< FAILURE!java.lang.AssertionError: Table where 
> owner like "Tab*" expected [g.V().has('__typeName', 
> 'Table').has('Table.owner', 
> org.janusgraph.core.attribute.Text.textContainsRegex("Tab.*")).dedup().limit(25).toList()]
>  but found [g.V().has('__typeName', 'Table').has('Table.owner', 
> org.janusgraph.core.attribute.Text.textRegex("Tab.*")).dedup().limit(25).toList()]
>  at org.testng.Assert.fail(Assert.java:94)
>  at org.testng.Assert.failNotEquals(Assert.java:496)
>  at org.testng.Assert.assertEquals(Assert.java:125)
>  at org.testng.Assert.assertEquals(Assert.java:178)
>  at 
> org.apache.atlas.query.GremlinQueryComposerTest.verify(GremlinQueryComposerTest.java:362)
>  at 
> org.apache.atlas.query.GremlinQueryComposerTest.verify(GremlinQueryComposerTest.java:371)
>  at 
> org.apache.atlas.query.GremlinQueryComposerTest.whereClauseTextContains(GremlinQueryComposerTest.java:170)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ATLAS-3532) Test case failure in GremlinQueryComposerTest

2019-12-02 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/ATLAS-3532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16986398#comment-16986398
 ] 

ASF subversion and git services commented on ATLAS-3532:


Commit 5955fcd1390910b714b13716b8c2ffc8fc5932d8 in atlas's branch 
refs/heads/master from Nikhil Bonte
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=5955fcd ]

ATLAS-3532: DSL Composer update to address '_' test case. Part #2

Signed-off-by: Ashutosh Mestry 


> Test case failure in GremlinQueryComposerTest
> -
>
> Key: ATLAS-3532
> URL: https://issues.apache.org/jira/browse/ATLAS-3532
> Project: Atlas
>  Issue Type: Bug
>Reporter: Nikhil Bonte
>Assignee: Nikhil Bonte
>Priority: Major
> Attachments: 
> ATLAS-3532-DSL-Composer-update-to-address-_-test-cas.patch, 
> ATLAS-3532-Test-case-failure-in-GremlinQueryComposer.patch
>
>
> {code:java}
> Tests run: 39, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 15.464 sec 
> <<< FAILURE! - in 
> org.apache.atlas.query.GremlinQueryComposerTestwhereClauseTextContains(org.apache.atlas.query.GremlinQueryComposerTest)
>   Time elapsed: 0.697 sec  <<< FAILURE!java.lang.AssertionError: Table where 
> owner like "Tab*" expected [g.V().has('__typeName', 
> 'Table').has('Table.owner', 
> org.janusgraph.core.attribute.Text.textContainsRegex("Tab.*")).dedup().limit(25).toList()]
>  but found [g.V().has('__typeName', 'Table').has('Table.owner', 
> org.janusgraph.core.attribute.Text.textRegex("Tab.*")).dedup().limit(25).toList()]
>  at org.testng.Assert.fail(Assert.java:94)
>  at org.testng.Assert.failNotEquals(Assert.java:496)
>  at org.testng.Assert.assertEquals(Assert.java:125)
>  at org.testng.Assert.assertEquals(Assert.java:178)
>  at 
> org.apache.atlas.query.GremlinQueryComposerTest.verify(GremlinQueryComposerTest.java:362)
>  at 
> org.apache.atlas.query.GremlinQueryComposerTest.verify(GremlinQueryComposerTest.java:371)
>  at 
> org.apache.atlas.query.GremlinQueryComposerTest.whereClauseTextContains(GremlinQueryComposerTest.java:170)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ATLAS-3532) Test case failure in GremlinQueryComposerTest

2019-11-26 Thread Ashutosh Mestry (Jira)


[ 
https://issues.apache.org/jira/browse/ATLAS-3532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16982673#comment-16982673
 ] 

Ashutosh Mestry commented on ATLAS-3532:


Passing pre-commit build: 
https://builds.apache.org/view/A/view/Atlas/job/PreCommit-ATLAS-Build-Test/1561/

> Test case failure in GremlinQueryComposerTest
> -
>
> Key: ATLAS-3532
> URL: https://issues.apache.org/jira/browse/ATLAS-3532
> Project: Atlas
>  Issue Type: Bug
>Reporter: Nikhil Bonte
>Assignee: Nikhil Bonte
>Priority: Major
> Attachments: 
> ATLAS-3532-DSL-Composer-update-to-address-_-test-cas.patch, 
> ATLAS-3532-Test-case-failure-in-GremlinQueryComposer.patch
>
>
> {code:java}
> Tests run: 39, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 15.464 sec 
> <<< FAILURE! - in 
> org.apache.atlas.query.GremlinQueryComposerTestwhereClauseTextContains(org.apache.atlas.query.GremlinQueryComposerTest)
>   Time elapsed: 0.697 sec  <<< FAILURE!java.lang.AssertionError: Table where 
> owner like "Tab*" expected [g.V().has('__typeName', 
> 'Table').has('Table.owner', 
> org.janusgraph.core.attribute.Text.textContainsRegex("Tab.*")).dedup().limit(25).toList()]
>  but found [g.V().has('__typeName', 'Table').has('Table.owner', 
> org.janusgraph.core.attribute.Text.textRegex("Tab.*")).dedup().limit(25).toList()]
>  at org.testng.Assert.fail(Assert.java:94)
>  at org.testng.Assert.failNotEquals(Assert.java:496)
>  at org.testng.Assert.assertEquals(Assert.java:125)
>  at org.testng.Assert.assertEquals(Assert.java:178)
>  at 
> org.apache.atlas.query.GremlinQueryComposerTest.verify(GremlinQueryComposerTest.java:362)
>  at 
> org.apache.atlas.query.GremlinQueryComposerTest.verify(GremlinQueryComposerTest.java:371)
>  at 
> org.apache.atlas.query.GremlinQueryComposerTest.whereClauseTextContains(GremlinQueryComposerTest.java:170)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ATLAS-3532) Test case failure in GremlinQueryComposerTest

2019-11-25 Thread Nikhil Bonte (Jira)


[ 
https://issues.apache.org/jira/browse/ATLAS-3532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16982194#comment-16982194
 ] 

Nikhil Bonte commented on ATLAS-3532:
-

[~bolke], new patch handles ATLAS-3520 & also handles your comment on previous 
patch.

Please review the patch. 

> Test case failure in GremlinQueryComposerTest
> -
>
> Key: ATLAS-3532
> URL: https://issues.apache.org/jira/browse/ATLAS-3532
> Project: Atlas
>  Issue Type: Bug
>Reporter: Nikhil Bonte
>Assignee: Nikhil Bonte
>Priority: Major
> Attachments: 
> ATLAS-3532-DSL-Composer-update-to-address-_-test-cas.patch, 
> ATLAS-3532-Test-case-failure-in-GremlinQueryComposer.patch
>
>
> {code:java}
> Tests run: 39, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 15.464 sec 
> <<< FAILURE! - in 
> org.apache.atlas.query.GremlinQueryComposerTestwhereClauseTextContains(org.apache.atlas.query.GremlinQueryComposerTest)
>   Time elapsed: 0.697 sec  <<< FAILURE!java.lang.AssertionError: Table where 
> owner like "Tab*" expected [g.V().has('__typeName', 
> 'Table').has('Table.owner', 
> org.janusgraph.core.attribute.Text.textContainsRegex("Tab.*")).dedup().limit(25).toList()]
>  but found [g.V().has('__typeName', 'Table').has('Table.owner', 
> org.janusgraph.core.attribute.Text.textRegex("Tab.*")).dedup().limit(25).toList()]
>  at org.testng.Assert.fail(Assert.java:94)
>  at org.testng.Assert.failNotEquals(Assert.java:496)
>  at org.testng.Assert.assertEquals(Assert.java:125)
>  at org.testng.Assert.assertEquals(Assert.java:178)
>  at 
> org.apache.atlas.query.GremlinQueryComposerTest.verify(GremlinQueryComposerTest.java:362)
>  at 
> org.apache.atlas.query.GremlinQueryComposerTest.verify(GremlinQueryComposerTest.java:371)
>  at 
> org.apache.atlas.query.GremlinQueryComposerTest.whereClauseTextContains(GremlinQueryComposerTest.java:170)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ATLAS-3532) Test case failure in GremlinQueryComposerTest

2019-11-25 Thread Bolke de Bruin (Jira)


[ 
https://issues.apache.org/jira/browse/ATLAS-3532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16981747#comment-16981747
 ] 

Bolke de Bruin commented on ATLAS-3532:
---

This does not seem to be the right chance as there is no test for 
textContainsRegex anymore now afaik. Does the query contain the special '_' so 
it warrants switching to textRegex which is *slow*?

> Test case failure in GremlinQueryComposerTest
> -
>
> Key: ATLAS-3532
> URL: https://issues.apache.org/jira/browse/ATLAS-3532
> Project: Atlas
>  Issue Type: Bug
>Reporter: Nikhil Bonte
>Assignee: Nikhil Bonte
>Priority: Major
> Attachments: 
> ATLAS-3532-Test-case-failure-in-GremlinQueryComposer.patch
>
>
> {code:java}
> Tests run: 39, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 15.464 sec 
> <<< FAILURE! - in 
> org.apache.atlas.query.GremlinQueryComposerTestwhereClauseTextContains(org.apache.atlas.query.GremlinQueryComposerTest)
>   Time elapsed: 0.697 sec  <<< FAILURE!java.lang.AssertionError: Table where 
> owner like "Tab*" expected [g.V().has('__typeName', 
> 'Table').has('Table.owner', 
> org.janusgraph.core.attribute.Text.textContainsRegex("Tab.*")).dedup().limit(25).toList()]
>  but found [g.V().has('__typeName', 'Table').has('Table.owner', 
> org.janusgraph.core.attribute.Text.textRegex("Tab.*")).dedup().limit(25).toList()]
>  at org.testng.Assert.fail(Assert.java:94)
>  at org.testng.Assert.failNotEquals(Assert.java:496)
>  at org.testng.Assert.assertEquals(Assert.java:125)
>  at org.testng.Assert.assertEquals(Assert.java:178)
>  at 
> org.apache.atlas.query.GremlinQueryComposerTest.verify(GremlinQueryComposerTest.java:362)
>  at 
> org.apache.atlas.query.GremlinQueryComposerTest.verify(GremlinQueryComposerTest.java:371)
>  at 
> org.apache.atlas.query.GremlinQueryComposerTest.whereClauseTextContains(GremlinQueryComposerTest.java:170)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ATLAS-3532) Test case failure in GremlinQueryComposerTest

2019-11-25 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/ATLAS-3532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16981683#comment-16981683
 ] 

ASF subversion and git services commented on ATLAS-3532:


Commit e607ba1a8bc45d671fb76bf0c9c4059cda99d36d in atlas's branch 
refs/heads/master from Nikhil Bonte
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=e607ba1 ]

ATLAS-3532: DSL: Fix for test case failure.

Signed-off-by: Ashutosh Mestry 


> Test case failure in GremlinQueryComposerTest
> -
>
> Key: ATLAS-3532
> URL: https://issues.apache.org/jira/browse/ATLAS-3532
> Project: Atlas
>  Issue Type: Bug
>Reporter: Nikhil Bonte
>Assignee: Nikhil Bonte
>Priority: Major
> Attachments: 
> ATLAS-3532-Test-case-failure-in-GremlinQueryComposer.patch
>
>
> {code:java}
> Tests run: 39, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 15.464 sec 
> <<< FAILURE! - in 
> org.apache.atlas.query.GremlinQueryComposerTestwhereClauseTextContains(org.apache.atlas.query.GremlinQueryComposerTest)
>   Time elapsed: 0.697 sec  <<< FAILURE!java.lang.AssertionError: Table where 
> owner like "Tab*" expected [g.V().has('__typeName', 
> 'Table').has('Table.owner', 
> org.janusgraph.core.attribute.Text.textContainsRegex("Tab.*")).dedup().limit(25).toList()]
>  but found [g.V().has('__typeName', 'Table').has('Table.owner', 
> org.janusgraph.core.attribute.Text.textRegex("Tab.*")).dedup().limit(25).toList()]
>  at org.testng.Assert.fail(Assert.java:94)
>  at org.testng.Assert.failNotEquals(Assert.java:496)
>  at org.testng.Assert.assertEquals(Assert.java:125)
>  at org.testng.Assert.assertEquals(Assert.java:178)
>  at 
> org.apache.atlas.query.GremlinQueryComposerTest.verify(GremlinQueryComposerTest.java:362)
>  at 
> org.apache.atlas.query.GremlinQueryComposerTest.verify(GremlinQueryComposerTest.java:371)
>  at 
> org.apache.atlas.query.GremlinQueryComposerTest.whereClauseTextContains(GremlinQueryComposerTest.java:170)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ATLAS-3532) Test case failure in GremlinQueryComposerTest

2019-11-25 Thread Ashutosh Mestry (Jira)


[ 
https://issues.apache.org/jira/browse/ATLAS-3532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16981674#comment-16981674
 ] 

Ashutosh Mestry commented on ATLAS-3532:


+1 for patch. Thanks [~nikhilbonte] for taking care of this.

> Test case failure in GremlinQueryComposerTest
> -
>
> Key: ATLAS-3532
> URL: https://issues.apache.org/jira/browse/ATLAS-3532
> Project: Atlas
>  Issue Type: Bug
>Reporter: Nikhil Bonte
>Assignee: Nikhil Bonte
>Priority: Major
> Attachments: 
> ATLAS-3532-Test-case-failure-in-GremlinQueryComposer.patch
>
>
> {code:java}
> Tests run: 39, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 15.464 sec 
> <<< FAILURE! - in 
> org.apache.atlas.query.GremlinQueryComposerTestwhereClauseTextContains(org.apache.atlas.query.GremlinQueryComposerTest)
>   Time elapsed: 0.697 sec  <<< FAILURE!java.lang.AssertionError: Table where 
> owner like "Tab*" expected [g.V().has('__typeName', 
> 'Table').has('Table.owner', 
> org.janusgraph.core.attribute.Text.textContainsRegex("Tab.*")).dedup().limit(25).toList()]
>  but found [g.V().has('__typeName', 'Table').has('Table.owner', 
> org.janusgraph.core.attribute.Text.textRegex("Tab.*")).dedup().limit(25).toList()]
>  at org.testng.Assert.fail(Assert.java:94)
>  at org.testng.Assert.failNotEquals(Assert.java:496)
>  at org.testng.Assert.assertEquals(Assert.java:125)
>  at org.testng.Assert.assertEquals(Assert.java:178)
>  at 
> org.apache.atlas.query.GremlinQueryComposerTest.verify(GremlinQueryComposerTest.java:362)
>  at 
> org.apache.atlas.query.GremlinQueryComposerTest.verify(GremlinQueryComposerTest.java:371)
>  at 
> org.apache.atlas.query.GremlinQueryComposerTest.whereClauseTextContains(GremlinQueryComposerTest.java:170)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)