Skip to content

Commit

Permalink
Fix tests on java 11 (#387)
Browse files Browse the repository at this point in the history
  • Loading branch information
timja authored Jan 6, 2021
1 parent 7037ca8 commit 3bc5dc9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
properties([buildDiscarder(logRotator(numToKeepStr: '20'))])
node('maven') {
node('maven-11') {
checkout scm
timeout(time: 1, unit: 'HOURS') {
// TODO Azure mirror
Expand Down
2 changes: 2 additions & 0 deletions src/it/powermock/src/test/java/test/XTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.powermock.api.mockito.PowerMockito;
import org.powermock.core.classloader.annotations.PowerMockIgnore;
import org.powermock.core.classloader.annotations.PrepareForTest;
import org.powermock.modules.junit4.PowerMockRunner;

@RunWith(PowerMockRunner.class)
@PrepareForTest(Jenkins.class)
@PowerMockIgnore({"com.sun.org.apache.xerces.*", "javax.xml.*", "org.xml.*"})
public class XTest {

@Mock
Expand Down

0 comments on commit 3bc5dc9

Please sign in to comment.