Skip to content

Commit

Permalink
Increase MavenTest#sensitiveParameters() timeout to 500s (jenkinsci#8840
Browse files Browse the repository at this point in the history
)

Infrastructure issue that we don't want to allow to delay the release
candidate of 2.426.3.

jenkins-infra/helpdesk#3890 is the issue

(cherry picked from commit 3dbbf26)
  • Loading branch information
NotMyFault authored and MarkEWaite committed Jan 9, 2024
1 parent 987b147 commit 914f0d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/src/test/java/hudson/tasks/MavenTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
import org.jvnet.hudson.test.Issue;
import org.jvnet.hudson.test.JenkinsRule;
import org.jvnet.hudson.test.ToolInstallations;
import org.jvnet.hudson.test.recipes.WithTimeout;
import org.kohsuke.stapler.jelly.JellyFacet;

/**
Expand Down Expand Up @@ -190,7 +191,7 @@ private void verify() throws Exception {
assertNotNull(isp.installers.get(MavenInstaller.class));
}

@Test public void sensitiveParameters() throws Exception {
@Test @WithTimeout(500) public void sensitiveParameters() throws Exception {
FreeStyleProject project = j.createFreeStyleProject();
ParametersDefinitionProperty pdb = new ParametersDefinitionProperty(
new StringParameterDefinition("string", "defaultValue", "string description"),
Expand Down

0 comments on commit 914f0d4

Please sign in to comment.