Skip to content

Commit 62591d6

Browse files
authored
Merge pull request #95 from jglick/doNotWait
Skip `quietPeriod` in `SCMRetrieverTest`
2 parents 8ee9ed9 + 2359316 commit 62591d6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/test/java/org/jenkinsci/plugins/workflow/libs/SCMRetrieverTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
import org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject;
4242
import org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProjectTest;
4343
import org.jenkinsci.plugins.workflow.test.steps.SemaphoreStep;
44+
import org.junit.Before;
4445
import org.junit.ClassRule;
4546
import org.junit.Test;
4647
import org.junit.Rule;
@@ -55,6 +56,10 @@ public class SCMRetrieverTest {
5556
@Rule public JenkinsRule r = new JenkinsRule();
5657
@Rule public GitSampleRepoRule sampleRepo = new GitSampleRepoRule();
5758

59+
@Before public void doNotWait() {
60+
r.setQuietPeriod(0);
61+
}
62+
5863
@Url("https://stackoverflow.com/a/49112612/12916")
5964
@Test public void selfTestLibraries() throws Exception {
6065
sampleRepo.init();

0 commit comments

Comments
 (0)