Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

Increased wait time to 40seconds to spin ngrok process#2212

Merged
srinaath merged 2 commits intomainfrom
srravich/bugfix-wait-on-ngrok
Dec 17, 2020
Merged

Increased wait time to 40seconds to spin ngrok process#2212
srinaath merged 2 commits intomainfrom
srravich/bugfix-wait-on-ngrok

Conversation

@srinaath
Copy link
Copy Markdown
Contributor

@srinaath srinaath commented Dec 17, 2020

This PR

  1. Increases the time to wait for the ngrok process before reporting an unsuccesful ngrok spawn operation
  2. Binding the this context on process exit. Currently. on process exit emulator does not cleanup ngrok process that was spawned
    @garypretty

Srinaath Ravichandran added 2 commits December 16, 2020 15:42
Signed-off-by: Srinaath Ravichandran <[email protected]>
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.01%) to 67.885% when pulling b7efe5e on srravich/bugfix-wait-on-ngrok into 1a9973e on main.

this.ngrokProcess.stdout.on('data', onNgrokData);
process.on('exit', this.kill);
process.on('exit', () => {
this.kill();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nice catch

@srinaath srinaath merged commit 402ac60 into main Dec 17, 2020
@srinaath srinaath deleted the srravich/bugfix-wait-on-ngrok branch December 17, 2020 18:52
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.

3 participants