Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Expose a synchronous start method in Runner #1072

Merged
merged 4 commits into from
Mar 8, 2019

Conversation

ajsutton
Copy link
Contributor

@ajsutton ajsutton commented Mar 8, 2019

PR description

Expose a synchronous start method to Runner.

start() guarantees ports are open before it returns but doesn't block until shutdown. Then awaitStop can be used by callers who want to block until Pantheon exits.

Fixes intermittency regression in RunnerTest with thanks to @usmansaleem for reporting via #1067.

ajsutton and others added 4 commits March 8, 2019 09:01
…e open before it returns but doesn't block until shutdown. Expose an explicit awaitStop method for callers who want to block until Pantheon exits.

Fixes intermittency in RunnerTest with thanks to @usmansaleem for reporting via PegaSysEng#1067.
Copy link
Contributor

@CjHare CjHare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 improvement to clarity of intention

@ajsutton ajsutton merged commit 1966f48 into PegaSysEng:master Mar 8, 2019
@ajsutton ajsutton deleted the runner-start branch March 8, 2019 07:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants