Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wait on state change to start + Catch config err #207

Merged
merged 1 commit into from
Jan 30, 2022

Conversation

NathanielRN
Copy link
Contributor

@NathanielRN NathanielRN commented Jan 29, 2022

Description

Follow up to #205

This PR fixes 2 issues that our integration tests discovered:

  1. We must wait for the Collector to change to Running State before finishing returning from the Start.
  2. The code to catch bad config files works for bad configs, but blocks the code for good configs and doesn't allow the collector to start

* Simplified the logic to catch errors in collector configuration files that caused Lambda timeouts
* We need to wait on the Collector to change state from `Starting` to `Running` before returning
Copy link
Contributor

@vasireddy99 vasireddy99 left a comment

Choose a reason for hiding this comment

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

LGTM, Thanks for this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change to collector causing issues with nodejs
3 participants