You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Jorge Bay (JIRA)" <ji...@apache.org> on 2018/09/12 09:22:00 UTC
[jira] [Commented] (TINKERPOP-1972) inject() tests are throwing
exceptions in .NET GLV tests
[ https://issues.apache.org/jira/browse/TINKERPOP-1972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16611811#comment-16611811 ]
Jorge Bay commented on TINKERPOP-1972:
--------------------------------------
I was able to fix the issue in the test harness that was preventing the scenarios from running:
https://github.com/apache/tinkerpop/compare/tp32...TINKERPOP-1972
Now, there seems to be other issues (maybe with the design of the scenario?):
{code}
1) g_injectX1X_chooseXisX1X__constantX10Xfold__foldX: Failed
Xunit.Sdk.ContainsException: Assert.Contains() Failure
Not found: SelectIListIterator<JToken, Object> [[1]]
In value: Object[] [[10]]
at Xunit.Assert.Contains[T](T expected, IEnumerable`1 collection, IEqualityComparer`1 comparer)
at Gremlin.Net.IntegrationTest.Gherkin.CommonSteps.AssertResult(String characterizedAs, DataTable table) in /Users/jorge/workspace/tinkerpop/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/CommonSteps.cs:line 188
2) g_injectX2X_chooseXisX1X__constantX10Xfold__foldX: Failed
Xunit.Sdk.ContainsException: Assert.Contains() Failure
Not found: SelectIListIterator<JToken, Object> [[2]]
In value: Object[] [[2]]
at Xunit.Assert.Contains[T](T expected, IEnumerable`1 collection, IEqualityComparer`1 comparer)
at Gremlin.Net.IntegrationTest.Gherkin.CommonSteps.AssertResult(String characterizedAs, DataTable table) in /Users/jorge/workspace/tinkerpop/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/CommonSteps.cs:line 188
{code}
Any ideas [~spmallette] / [~Florian Hockmann] ?
> inject() tests are throwing exceptions in .NET GLV tests
> --------------------------------------------------------
>
> Key: TINKERPOP-1972
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1972
> Project: TinkerPop
> Issue Type: Bug
> Components: dotnet
> Affects Versions: 3.2.9
> Reporter: stephen mallette
> Assignee: Jorge Bay
> Priority: Minor
>
> New GLV tests were added in TINKERPOP-1963 and are generating this error:
> {code}
> Failures:
> 1) g_injectX1X_chooseXisX1X__constantX10Xfold__foldX: Failed
> System.NotSupportedException: Type is not supported.
> at System.Array.InternalCreate(Void* elementType, Int32 rank, Int32* pLengths, Int32* pLowerBounds)
> at System.Array.CreateInstance(Type elementType, Int32 length)
> at Gremlin.Net.IntegrationTest.Gherkin.TraversalEvaluation.TraversalParser.BuildParameters(MethodInfo method, Token token, IDictionary`2& genericParameterTypes) in /home/smallette/git/apache/incubator-tinkerpop/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/TraversalEvaluation/TraversalParser.cs:line 268
> at Gremlin.Net.IntegrationTest.Gherkin.TraversalEvaluation.TraversalParser.GetTraversalFromTokens(IList`1 tokens, GraphTraversalSource g, IDictionary`2 contextParameterValues, String traversalText) in /home/smallette/git/apache/incubator-tinkerpop/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/TraversalEvaluation/TraversalParser.cs:line 90
> at Gremlin.Net.IntegrationTest.Gherkin.TraversalEvaluation.TraversalParser.GetTraversal(String traversalText, GraphTraversalSource g, IDictionary`2 contextParameterValues) in /home/smallette/git/apache/incubator-tinkerpop/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/TraversalEvaluation/TraversalParser.cs:line 62
> at Gremlin.Net.IntegrationTest.Gherkin.CommonSteps.TranslateTraversal(String traversalText) in /home/smallette/git/apache/incubator-tinkerpop/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/CommonSteps.cs:line 101
> 2) g_injectX2X_chooseXisX1X__constantX10Xfold__foldX: Failed
> System.NotSupportedException: Type is not supported.
> at System.Array.InternalCreate(Void* elementType, Int32 rank, Int32* pLengths, Int32* pLowerBounds)
> at System.Array.CreateInstance(Type elementType, Int32 length)
> at Gremlin.Net.IntegrationTest.Gherkin.TraversalEvaluation.TraversalParser.BuildParameters(MethodInfo method, Token token, IDictionary`2& genericParameterTypes) in /home/smallette/git/apache/incubator-tinkerpop/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/TraversalEvaluation/TraversalParser.cs:line 268
> at Gremlin.Net.IntegrationTest.Gherkin.TraversalEvaluation.TraversalParser.GetTraversalFromTokens(IList`1 tokens, GraphTraversalSource g, IDictionary`2 contextParameterValues, String traversalText) in /home/smallette/git/apache/incubator-tinkerpop/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/TraversalEvaluation/TraversalParser.cs:line 90
> at Gremlin.Net.IntegrationTest.Gherkin.TraversalEvaluation.TraversalParser.GetTraversal(String traversalText, GraphTraversalSource g, IDictionary`2 contextParameterValues) in /home/smallette/git/apache/incubator-tinkerpop/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/TraversalEvaluation/TraversalParser.cs:line 62
> at Gremlin.Net.IntegrationTest.Gherkin.CommonSteps.TranslateTraversal(String traversalText) in /home/smallette/git/apache/incubator-tinkerpop/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/CommonSteps.cs:line 101
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)