Bugfix/#18545 check druid default rules #102
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Checking druid coordinator has default rules and they are not loading forever
We want to limit druid duration of all datasources by default to not take everything, just to make druid not to keep infinite data and getting stucked
The test included try to get the rules from the service. The curl won't fail. However, it's stdout can be empty depending on the situation:
If we are testing against the host of the service (ie. 10.0.209.22) the response will be an array of rules and one load rule can't be "forever"
if we are testing against another node (ie. 10.0.209.20) the response will be empty. (AND THE REST OF THE TEST IS SKIPPED)
For now we are accepting both as correct tests. So the question is:
Do all nodes in a cluster behave the same and the tests should be improved to not skipping in any case?