[ https://issues.apache.org/jira/browse/TINKERPOP-2938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17747108#comment-17747108 ]
ASF GitHub Bot commented on TINKERPOP-2938: ------------------------------------------- xiazcy opened a new pull request, #2158: URL: https://github.com/apache/tinkerpop/pull/2158 Updated merge tests with expected fail messages. Small enough change that could probably be added as a CTR. VOTE +1 > Revisit merge step feature tests > -------------------------------- > > Key: TINKERPOP-2938 > URL: https://issues.apache.org/jira/browse/TINKERPOP-2938 > Project: TinkerPop > Issue Type: Improvement > Components: process > Affects Versions: 3.6.2 > Reporter: Yang Xia > Priority: Critical > > I've added a set of tests for > [https://github.com/apache/tinkerpop/pull/2036,] with the CTR here > [https://github.com/apache/tinkerpop/commit/2c9e5300d6901c72e565f89e50ab0e4844ccd56e]. > > Ideally I want the Feature test to check that the exception fails with the > intended error message, however, there seems to be a problem with the > exception falling through when you have an empty graph and invalid maps to > add just to g.V(['~label', vertex]). The intended errors appear to be null > when you check with the step, but then gets printed after in the terminal > output, which I wonder if it's not being caught in the toList() step, or if > there is some race going on. -- This message was sent by Atlassian Jira (v8.20.10#820010)