Skip to content

Commit

Permalink
Skip quietPeriod in SCMRetrieverTest
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed Sep 11, 2023
1 parent 8ee9ed9 commit 2359316
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
import org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject;
import org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProjectTest;
import org.jenkinsci.plugins.workflow.test.steps.SemaphoreStep;
import org.junit.Before;
import org.junit.ClassRule;
import org.junit.Test;
import org.junit.Rule;
Expand All @@ -55,6 +56,10 @@ public class SCMRetrieverTest {
@Rule public JenkinsRule r = new JenkinsRule();
@Rule public GitSampleRepoRule sampleRepo = new GitSampleRepoRule();

@Before public void doNotWait() {
r.setQuietPeriod(0);
}

@Url("https://stackoverflow.com/a/49112612/12916")
@Test public void selfTestLibraries() throws Exception {
sampleRepo.init();
Expand Down

0 comments on commit 2359316

Please sign in to comment.