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

Andras Piros commented on OOZIE-3376:
-------------------------------------

[~gezapeti] we can't use JUnit4's {{Assume.assumeXXXX}} in {{@Before}} or 
{{@BeforeClass}} effectively since we're using {{JUnit38ClassRunner}} that 
throws an {{AssumptionViolatedException}} instead of passing by. That's why we 
need 5x {{try-catch}} :(

Tested w/ various Oracle JDK8 builds ({{1.8.0_u31}}, {{1.8.0_u102}}) so far. 
Will test w/ OpenJDK 8 builds, as well.

> [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