diff --git a/Jenkinsfile b/Jenkinsfile index a3660f59f007..8fd585af0513 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -45,7 +45,7 @@ for(j = 0; j < jdks.size(); j++) { "MAVEN_OPTS=-Xmx1536m -Xms512m"], jdk) { // Actually run Maven! // -Dmaven.repo.local=… tells Maven to create a subdir in the temporary directory for the local Maven repository - def mvnCmd = "mvn -Pdebug -U -Dset.changelist help:evaluate -Dexpression=changelist -Doutput=$changelistF clean install ${runTests ? '-Dmaven.test.failure.ignore' : '-DskipTests'} -V -B -Dmaven.repo.local=$m2repo -s settings-azure.xml -e" + def mvnCmd = "mvn -Pdebug -U -Dset.changelist help:evaluate -Dexpression=changelist -Doutput=$changelistF clean install -Dtest=AtomicFileWriterPerfTest ${runTests ? '-Dmaven.test.failure.ignore' : '-DskipTests'} -V -B -Dmaven.repo.local=$m2repo -s settings-azure.xml -e" if(isUnix()) { sh mvnCmd diff --git a/fake b/fake new file mode 100644 index 000000000000..8daeece8d5a8 --- /dev/null +++ b/fake @@ -0,0 +1,7 @@ +5263 +7401 +21740 +15569 +14930 +20759 +10158 diff --git a/test/src/test/java/hudson/util/AtomicFileWriterPerfTest.java b/test/src/test/java/hudson/util/AtomicFileWriterPerfTest.java index 31942ed3187a..43fa39c6cc7e 100644 --- a/test/src/test/java/hudson/util/AtomicFileWriterPerfTest.java +++ b/test/src/test/java/hudson/util/AtomicFileWriterPerfTest.java @@ -24,7 +24,7 @@ public class AtomicFileWriterPerfTest { * really bad performance regressions. */ @Issue("JENKINS-34855") - @Test(timeout = 50 * 1000L) + @Test(timeout = 150 * 1000L) public void poorManPerformanceTestBed() throws Exception { int count = 1000; while (count-- > 0) {