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

ASF GitHub Bot commented on FLINK-4740:
---------------------------------------

GitHub user greghogan opened a pull request:

    https://github.com/apache/flink/pull/2597

    [FLINK-4740] [tests] Upgrade testing libraries

    Upgrades
      JUnit from 4.11 to 4.12
      Mockito from 1.9.5 to 1.10.19
      PowerMock from 1.5.5 to 1.6.5

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/greghogan/flink 4740_upgrade_testing_libraries

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/2597.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2597
    
----
commit a880c5e01b9c98d6c95d75f7cfaf2cf2b277a8cf
Author: Greg Hogan <[email protected]>
Date:   2016-10-04T20:14:23Z

    [FLINK-4740] [tests] Upgrade testing libraries
    
    Upgrades
      JUnit from 4.11 to 4.12
      Mockito from 1.9.5 to 1.10.19
      PowerMock from 1.5.5 to 1.6.5

----


> Upgrade testing libraries
> -------------------------
>
>                 Key: FLINK-4740
>                 URL: https://issues.apache.org/jira/browse/FLINK-4740
>             Project: Flink
>          Issue Type: Improvement
>          Components: Tests
>    Affects Versions: 1.2.0
>            Reporter: Greg Hogan
>            Assignee: Greg Hogan
>            Priority: Minor
>
> JUnit 4.12 was released 4 Dec 2014. Flink is currently using JUnit 4.11 from 
> 14 Nov 2012.
> PowerMock reports "org.powermock.reflect.exceptions.FieldNotFoundException: 
> Field 'fTestClass' was not found in class 
> org.junit.internal.runners.MethodValidator."
>   https://github.com/jayway/powermock/issues/551
> This is fixed in PowerMock 1.6.1+ (currently using 1.5.5, latest is 1.6.5):
>   https://raw.githubusercontent.com/jayway/powermock/master/changelog.txt
> Then Mockito causes "java.lang.NoSuchMethodError: 
> org.mockito.mock.MockCreationSettings.getSerializableMode()Lorg/mockito/mock/SerializableMode;".
> This is fixed by upgrading Mockito from 1.9.5 to the latest 1.10.19.



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

Reply via email to