-
Notifications
You must be signed in to change notification settings - Fork 8
feat: listening for logs before returning a http status code #230
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
feat: listening for logs before returning a http status code #230
Conversation
Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>
Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>
8b3140b
to
29197ff
Compare
Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>
Since my go is not that great and to clarify, this PR does not fix the issue with delayed restarts, or am I missing something? |
it is not the goal to fix delayed restarts. the goal is to return the request not immediately after the start command was triggered, but to wait for a log message of flagd to return the status code and the request. Before it was:
now it is:
this way we do not need the sleep in the tests anymore after hitting this endpoint. |
6857f9c
to
16001f5
Compare
changed the whole pr, now this is a full blown refactoring/restructuring of launchpad for easier usage:
|
16001f5
to
6cbed8e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>
6cbed8e
to
3e4bd1e
Compare
closes: #222