Skip to content

Commit

Permalink
Increase test timeout of MavenTest#sensitiveParameters() (#8837)
Browse files Browse the repository at this point in the history
  • Loading branch information
NotMyFault authored Jan 6, 2024
1 parent 425df13 commit 040cb89
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(300) 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 040cb89

Please sign in to comment.