[JBoss JIRA] (DROOLS-2352) Executable model test coverage: run the optaplanner turtleTests with the executable model turned on and see if it survives the ordeal
by Tibor Zimányi (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2352?page=com.atlassian.jira.plugi... ]
Tibor Zimányi commented on DROOLS-2352:
---------------------------------------
Tests retriggered.
> Executable model test coverage: run the optaplanner turtleTests with the executable model turned on and see if it survives the ordeal
> -------------------------------------------------------------------------------------------------------------------------------------
>
> Key: DROOLS-2352
> URL: https://issues.jboss.org/browse/DROOLS-2352
> Project: Drools
> Issue Type: Task
> Components: core engine
> Reporter: Geoffrey De Smet
> Assignee: Tibor Zimányi
>
> For now, we're looking for a one time test. Later I presume the exe model will be come the default, so these tests would just run?
> To run the optaplanner turtle tests, run all tests in optaplanner-examples with the VM parameter `-DrunTurtleTests=true`. They take 48 hours to run. You can also just run one, for example NurseRosteringSolveAllTurtleTest, but don't forget that VM parameter.
> Mario Fusco says you can do this to turn on the executable model:
> {code}
> kieBuilder.buildAll( ExecutableModelProject.class );
> {code}
> I presume you 'd need to hack that in `ScoreDirectorFactoryConfig.buildDroolsScoreDirectorFactory()`.
> Note: I have no idea if this even make sense: those turtle tests use a drl file input and don't use the kie-maven-plugin. We're looking for a switch to just turn it on and see if they are all still green. Mario thinks it's possible, if I understand it correctly.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 3 months
[JBoss JIRA] (DROOLS-2777) Guided Decision Table is changing date field value based on the timezone
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2777?page=com.atlassian.jira.plugi... ]
Jozef Marko updated DROOLS-2777:
--------------------------------
Sprint: 2018 Week 30-32, 2018 Week 33-35 (was: 2018 Week 30-32, 2018 Week 33-35, 2018 Week 36-38)
> Guided Decision Table is changing date field value based on the timezone
> ------------------------------------------------------------------------
>
> Key: DROOLS-2777
> URL: https://issues.jboss.org/browse/DROOLS-2777
> Project: Drools
> Issue Type: Bug
> Components: Guided Decision Table Editor
> Reporter: Michael Anstis
> Assignee: Guilherme Carreiro
> Labels: drools-tools
> Fix For: 7.11.0.Final
>
>
> If I set a Date Field in Guided Decision Table, then change the timezone, restart the server, log in again, the Date Field has *different* value
> Expected: decision-central should never attempt to change the rules automatically without user's knowledge
> h3. Acceptance test
> - Check opening of old asset, created before this change (/)
> - Run server on linux machine (timezone a)
> -- run host on win machine (timezone b) and create [#Assets] (/)
> -- run host on win machine (timezone c) and check [#Assets] (/)
> h4. Assets
> - guided template
> - guided rule
> - guided table simple column
> - guided table brl column
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 3 months