Skip to content

Commit 09cb8ea

Browse files
authored
Merge pull request #385 from Vlatombe/rate-limit-follow-up
`RateLimitBranchProperty` follow up
2 parents 5d691a8 + 2710388 commit 09cb8ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/java/jenkins/branch/RateLimitBranchPropertyTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ public void rateLimitsConcurrentBuilds() throws Exception {
248248
assertThat(master.isInQueue(), is(false));
249249
assertThat(master.getQueueItem(), nullValue());
250250
QueueTaskFuture<FreeStyleBuild> future = master.scheduleBuild2(0);
251+
Thread.sleep(1);
251252
QueueTaskFuture<FreeStyleBuild> future2 = master.scheduleBuild2(0, (Cause) null,
252253
new ParametersAction(
253254
Collections.singletonList(new StringParameterValue("FOO", "MANCHU"))));

0 commit comments

Comments
 (0)