[ 
https://issues.apache.org/jira/browse/TINKERPOP3-690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

stephen mallette closed TINKERPOP3-690.
---------------------------------------
    Resolution: Implemented

introduced a few new things to get this working....

First, there is a new {{GraphProvider.Descriptor}} annotation that lets you 
specify which {{GraphComputer}} is going to be used in construction of a 
{{Traversal}}.  Errors get generated if a {{GraphProvider}} does not have this 
for a run of a test suite that uses a {{COMPUTER}} traversal engine.  

Second, {{OptOut}} has a new attribute called {{computers}} which specifies the 
{{GraphComputer}} implementations that this opt-out should apply to.


> Be able to OPT_OUT for Standard, but not Computer
> -------------------------------------------------
>
>                 Key: TINKERPOP3-690
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP3-690
>             Project: TinkerPop 3
>          Issue Type: Improvement
>          Components: test-suite
>    Affects Versions: 3.0.0-incubating
>            Reporter: Marko A. Rodriguez
>            Assignee: stephen mallette
>             Fix For: 3.0.1-incubating
>
>
> {{HadoopGraph}} currently have this:
> {code}
> @Graph.OptOut(
>         test = 
> "org.apache.tinkerpop.gremlin.process.traversal.step.map.CountTest$Traversals",
>         method = "g_V_repeatXoutX_timesX8X_count",
>         reason = "Hadoop-Gremlin is OLAP-oriented and for OLTP operations, 
> linear-scan joins are required. This particular tests takes many minutes to 
> execute.")
> {code}
> However, I only want to OPT_OUT for Standard, not for Computer. It would be 
> good to be able to make OPT_OUT for particular engines.
> Next, and more to the point, see this:
> {code}
> @Graph.OptOut(
>         test = 
> "org.apache.tinkerpop.gremlin.process.computer.GraphComputerTest",
>         method = "shouldHaveConsistentMemoryVertexPropertiesAndExceptions",
>         reason = "Giraph does a hard kill on failure and stops threads which 
> stops test cases. Exception handling semantics are correct though.")
> {code}
> {{SparkGraphComputer}} does this fine, its only {{GiraphGraphComputer}} that 
> fails the entire JVM. Again, be nice to say OPT_OUT for Giraph, but not for 
> Spark.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to