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

Fix same params detection (change and test) #77

Closed
wants to merge 19 commits into from

Conversation

jimklimov
Copy link
Contributor

@jimklimov jimklimov commented Feb 10, 2020

As @basil asked, here is the potentially problematic subset of #59 that changes the logic of production code but also adds tests for that :)

See also #75 and #76.

Note that due to the split from original PR, there may be minor merge-conflicts vs other pieces.

…ingOnNode() : only filter executingUnitParams `if paramsToCompare.size() > 0` (do same as done for itemParams and avoid extra variable copying)
…ingOnNode() : refactor to fetch itemTaskName once
…ingOnNode() : refactor paramsToCompareSize to calculate it once
…UseForLimit by a comma, not just whitespace (which is not documented, but apparently nobody complained so used it instead)
…ToUseForLimit and paramsToCompare that are related to its usecase
…msToCompare() into a clean setter setParamsToCompare()
… values (repetitive/surrounding separator chars)
…se_paramsToUseForLimit() : honor the ordering of a List type
… testThrottleJob_constructor_should_parse_paramsToUseForLimit()
…uld_parse_paramsToUseForLimit() to look at truncation of whitespace/separators in input
… get) in testThrottleJob_constructor_should_parse_paramsToUseForLimit()
@jimklimov
Copy link
Contributor Author

Updated for minor conflicts after #75 was merged

…ARATOR until it is introduced"

This reverts commit 1219b1e
since the token is introduced in this re-merged codebase.
@basil
Copy link
Member

basil commented Dec 23, 2020

Thanks for the PR! I refiled this PR as #103 and #104 with some additional changes.

@basil basil closed this Dec 23, 2020
@basil
Copy link
Member

basil commented Dec 23, 2020

Released in 2.1.

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