-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make Tests job fail quickly instead of timing out on discovery failur…
…e. (#16439) If waitForAnyAdvertisement failed, we would not actually clean things up and sit there until the job timed out. Two changes to fix that: 1) Add the app to the app register before calling start() on it, so that the killAll() on the app register has a chance of killing the app. 2) Set self.process immediately, instead of doing it after things that might fail (like waitForAnyAdvertisement), so killing the app actually works.
- Loading branch information
1 parent
cfd5bf0
commit bbc944c
Showing
1 changed file
with
12 additions
and
11 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