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

Issue #26: Faulty configuration and error responses #108

Merged
merged 2 commits into from
Nov 26, 2019

Conversation

mdimjasevic
Copy link
Contributor

This patch addresses the following remark from issue #26: (partly done in #35, not tested properly, not documented) When lyft/ratelimit finds the config dir but even one file is corrupted (broken YAML or correct YAML but broken field names), it responds to requests with ERROR."

Fencer already matches this behavior. Furthermore, there already exists a server test corresponding to this situation, in particular the Fencer.Server.Test.test_serverResponseNoRules test, as it is currently called in master. When there is faulty configuration, an error will be returned in response, which is what the test is about.

@mdimjasevic mdimjasevic self-assigned this Nov 15, 2019
@mdimjasevic mdimjasevic merged commit bbbcba9 into master Nov 26, 2019
@mdimjasevic mdimjasevic deleted the mdimjasevic/26-faulty-conf-re-with-err branch November 26, 2019 08:53
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.

2 participants