Skip to content

Commit 91fd65d

Browse files
authored
Merge pull request #102 from bitwiseman/task/test-stablity
Fix test not waiting for no activity after indexing
2 parents 3b521fe + 651a43e commit 91fd65d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/jenkinsci/plugins/workflow/multibranch/WorkflowMultiBranchProjectTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ public DescriptorImpl() {
194194
mp.getSourcesList().add(new BranchSource(new GitSCMSource(null, sampleRepo.toString(), "", "*", "", false), new DefaultBranchPropertyStrategy(new BranchProperty[0])));
195195
mp.getSourcesList().add(new BranchSource(new GitSCMSource(null, sampleRepo.toString(), "", "*", "", false), new DefaultBranchPropertyStrategy(new BranchProperty[0])));
196196
WorkflowJob p = scheduleAndFindBranchProject(mp, "master");
197-
mp.getIndexing().writeWholeLogTo(System.out);
197+
r.waitUntilNoActivity();
198198
assertEquals(1, mp.getItems().size());
199199

200200
r.waitForCompletion(p.getLastBuild());

0 commit comments

Comments
 (0)