Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
integration: wait for 'new' change event subscription
startService does not return a deferred. So, when we call yield master.reconfigServiceWithBuildbotConfig we cannot know whether one service, like schedulers, have finished their setup. That created a race condition with the test that used AnyBranch schedulers to trigger a build, as the build was created before the scheduler subscribed to the 'new' change event. This commit implements a poller that waits for these schedulers to be setup, before the test is launched.
- Loading branch information
1 parent
d3490c9
commit 866e90b
Showing
1 changed file
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters