Skip to content

Commit

Permalink
Merge pull request #95 from jglick/doNotWait
Browse files Browse the repository at this point in the history
Skip `quietPeriod` in `SCMRetrieverTest`
  • Loading branch information
jglick authored Sep 13, 2023
2 parents 8ee9ed9 + 2359316 commit 62591d6
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 62591d6

Please sign in to comment.