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

[incubator-kie-issues#1546] Fix DMN TCK range equality test failures for unary test ranges #6134

Merged
merged 13 commits into from
Oct 23, 2024

Conversation

gitgabrio
Copy link
Contributor

Fixes apache/incubator-kie-issues#1546

This PR:

  1. define a new UndefinedValue type (meaning no value provided at all) to better differentiate from null (that mean explicit null definition or null resulting from evaluation)
  2. use the UndefinedValue when converting unary test expression (e.g. <10 ) to range
  3. fix tests/usage
How to replicate CI configuration locally?

Build Chain tool does "simple" maven build(s), the builds are just Maven commands, but because the repositories relates and depends on each other and any change in API or class method could affect several of those repositories there is a need to use build-chain tool to handle cross repository builds and be sure that we always use latest version of the code for each repository.

build-chain tool is a build tool which can be used on command line locally or in Github Actions workflow(s), in case you need to change multiple repositories and send multiple dependent pull requests related with a change you can easily reproduce the same build by executing it on Github hosted environment or locally in your development environment. See local execution details to get more information about it.

How to retest this PR or trigger a specific build:
  • for pull request and downstream checks

    • Push a new commit to the PR. An empty commit would be enough.
  • for a full downstream build

    • for github actions job: add the label run_fdb
  • for Jenkins PR check only

@gitgabrio gitgabrio requested review from baldimir and yesamer October 22, 2024 09:38
@gitgabrio gitgabrio marked this pull request as ready for review October 22, 2024 10:11
Copy link
Contributor

@yesamer yesamer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice improvement :)

@gitgabrio gitgabrio merged commit 1689794 into apache:main Oct 23, 2024
7 of 9 checks passed
@gitgabrio gitgabrio deleted the incubator-kie-issues#1546 branch October 23, 2024 09:27
rgdoliveira pushed a commit to rgdoliveira/drools that referenced this pull request Oct 24, 2024
…for unary test ranges (apache#6134)

* Introduce undefined boundaries for range instances.

Signed-off-by: Tibor Zimányi <tiborzimanyi@ibm.com>

* Update inclusion and equality methods for FEEL range.

Signed-off-by: Tibor Zimányi <tiborzimanyi@ibm.com>

* Fix compiled FEEL scenarios with ranges.

* Restore FEELRangesTest.

* Add RangeImpl unit tests.

* [range-problems-gc] WIP

* [range-problems-gc] WIP

* [incubator-kie-issues#1546] Add UndefinedValueComparable UndefinedValueNode

* [incubator-kie-issues#1546] Fixing tests - WIP

* [incubator-kie-issues#1546] Fixing tests - WIP

* [incubator-kie-issues#1546] Fixing tests

* [incubator-kie-issues#1546] Fixing tests

---------

Signed-off-by: Tibor Zimányi <tiborzimanyi@ibm.com>
Co-authored-by: Tibor Zimányi <tiborzimanyi@ibm.com>
Co-authored-by: Gabriele-Cardosi <gabriele.cardosi@ibm.com>
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.

DMN TCK failure: range equality test fail for unary test ranges
3 participants