-
Notifications
You must be signed in to change notification settings - Fork 116
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
add min/max javascript functionality #1441
Conversation
I think this is ready for review now. The table implementation is a much better way to reason about how these configs tied to one element ( |
"any", | ||
data-minnn-bc-not-found-for-cluster-mistype: 30, | ||
data-max-bc-not-found-for-cluster-mistype: 30, | ||
data-maximum-bc-not-found-for-cluster-mistype: 30 |
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.
probably need to add test cases for 'any' to be sure these aren't parsed.
assert_equal 40, find_max('bc_num_slots') | ||
end | ||
|
||
test 'using same node sets min/max' do |
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.
seems like this test should also change node type. I guess just to be sure that you change the node type and the same min/maxes are set.
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.
LGTM.
Fixes #1431
In draft right now because it doesn't really read well and besides needs these other things: