feat: Change fractional custom op from percentage-based to relative weighting. #828#833
Conversation
|
i am not sure that my change caused the ci to fail. maybe i misread the log, but could some body of the maintainers restart the build |
68f77f8 to
8f8e93f
Compare
…eighting. open-feature#828 Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>
8f8e93f to
ddbcc84
Compare
|
okay i am realizing that the e2e tests are failing, i need to investigate, what might be the issue - do i maybe need to update some dependencies - or do you see an error in my implementation? |
I'll try to debug locally and see. It's possible you are just very unlucky though and this is unrelated, because the assert that's failing doesn't seem to do with fractional at all... but these tests are usually very reliable and not flacky so 🤷 I will re-run to double-check |
|
It's the assertion in |
|
If you rebase on or merge main the e2e suite should work now. See: #834 |
Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>
5cbf293 to
0ab0e71
Compare
|
relates also to: open-feature/flagd#1282 - for tracking purpose in the main ticket |
Kavindu-Dodan
left a comment
There was a problem hiding this comment.
Other than the nit, looks good 🙌
…s/flagd/resolver/process/targeting/FractionalTest.java Co-authored-by: Kavindu Dodanduwa <Kavindu-Dodan@users.noreply.github.com> Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>
Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>
@thisthat i modified the tests, and added some more, each test is now an own json file, with a rule and an expected result, this allows us to easier add test cases in the future - i hope this is fine. |
Related Issues
Fixes #828