Skip to content

Commit

Permalink
[FLINK-4740] [tests] Upgrade testing libraries
Browse files Browse the repository at this point in the history
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

This closes apache#2597
  • Loading branch information
greghogan committed Oct 5, 2016
1 parent 1577e89 commit 7c9bc1e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public void testMapTask() {
}
}

private static class MockReduceStub implements ReduceFunction<Record> {
public static class MockReduceStub implements ReduceFunction<Record> {
private static final long serialVersionUID = 1047525105526690165L;

@Override
Expand Down
10 changes: 6 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ under the License.
<curator.version>2.8.0</curator.version>
<jackson.version>2.7.4</jackson.version>
<metrics.version>3.1.0</metrics.version>
<junit.version>4.11</junit.version>
<junit.version>4.12</junit.version>
<mockito.version>1.10.19</mockito.version>
<powermock.version>1.6.5</powermock.version>
<!--
Keeping the MiniKDC version fixed instead of taking hadoop version dependency
to support testing Kafka, ZK etc., modules that does not have Hadoop dependency
Expand Down Expand Up @@ -166,23 +168,23 @@ under the License.
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>1.9.5</version>
<version>${mockito.version}</version>
<type>jar</type>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-module-junit4</artifactId>
<version>1.5.5</version>
<version>${powermock.version}</version>
<type>jar</type>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-api-mockito</artifactId>
<version>1.5.5</version>
<version>${powermock.version}</version>
<type>jar</type>
<scope>test</scope>
</dependency>
Expand Down

0 comments on commit 7c9bc1e

Please sign in to comment.