[SPARK-30076][BUILD][TESTS] Upgrade Mockito to 3.1.0

### What changes were proposed in this pull request?

We used 2.28.2 of Mockito as of https://github.com/apache/spark/pull/25139 because 3.0.0 might be unstable. Now 3.1.0 is released.

See release notes - https://github.com/mockito/mockito/blob/v3.1.0/doc/release-notes/official.md

### Why are the changes needed?

To bring the fixes made in the dependency.

### Does this PR introduce any user-facing change?

No.

### How was this patch tested?

Jenkins will test.

Closes #26707 from HyukjinKwon/upgrade-Mockito.

Authored-by: HyukjinKwon <gurwls223@apache.org>
Signed-off-by: Sean Owen <sean.owen@databricks.com>
This commit is contained in:
HyukjinKwon 2019-11-30 12:23:11 -06:00 committed by Sean Owen
parent 700a2edbd1
commit f32ca4b279

View file

@ -853,7 +853,7 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>2.28.2</version>
<version>3.1.0</version>
<scope>test</scope>
</dependency>
<dependency>