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

Andras Piros edited comment on OOZIE-3376 at 11/5/18 3:57 PM:
--------------------------------------------------------------

Thanks for the review [~gezapeti]!

Using current OpenJDK version {{1.8.0_191-b12}} {{TestGraphGenerator}} passes:
{noformat}
$ java -version
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (build 1.8.0_191-b12)
OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)
$ mvn test -Dtest=TestGraphGenerator
...
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.oozie.util.graph.TestGraphGenerator
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.445 s 
- in org.apache.oozie.util.graph.TestGraphGenerator
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0
...{noformat}


was (Author: andras.piros):
Thanks for the review [~gezapeti]!

Using current OpenJDK version {{1.8.0_u191}} {{TestGraphGenerator}} passes:
{noformat}
$ java -version
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (build 1.8.0_191-b12)
OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)
$ mvn test -Dtest=TestGraphGenerator
...
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.oozie.util.graph.TestGraphGenerator
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.445 s 
- in org.apache.oozie.util.graph.TestGraphGenerator
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0
...{noformat}

> [tests] TestGraphGenerator should assume JDK8 minor version at least 1.8.0_u40
> ------------------------------------------------------------------------------
>
>                 Key: OOZIE-3376
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3376
>             Project: Oozie
>          Issue Type: Bug
>          Components: docs, tests
>    Affects Versions: 5.1.0
>            Reporter: Andras Piros
>            Assignee: Andras Piros
>            Priority: Major
>         Attachments: OOZIE-3376.001.patch
>
>
> {{GraphGenerator}} uses {{guru.nidi:graphviz-java:0.7.0}} that assumes JDK8 
> minor version [at least 
> 1.8.0_u40|https://github.com/nidi3/graphviz-java/commit/b7cf5761f97f1491d3bdc65367ec00e38d66291d].
> Goal is to make the same assumption inside {{TestGraphGenerator}} and 
> document behavior within {{WebServicesAPI.md}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to