-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[DROOLS-6258] Fix drools-test-coverage for KieBaseTestConfiguration m… #3502
Conversation
Kudos, SonarCloud Quality Gate passed! |
Hi @lucamolteni , @mariofusco , This fix will stabilize drools-test-coverage tests and I'll want to backport this to 7.52.x as well. Please reveiw, thanks! |
"Linux - Compile Downstream Build " errors are not related to this PR.
|
kieBaseTestConfiguration.setStreamMode(true); | ||
KieBase kbase = KieBaseUtil.getKieBaseFromKieModuleFromDrl("test", kieBaseTestConfiguration, str); | ||
KieBaseTestConfiguration streamConfig = TestParametersUtil.getStreamInstanceOf(kieBaseTestConfiguration); | ||
KieBase kbase = KieBaseUtil.getKieBaseFromKieModuleFromDrl("test", streamConfig, str); |
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.
for example, instead of modifying kieBaseTestConfiguration
, get the expected kieBaseTestConfiguration
instance (Stream mode while other properties are the same)
…anipulation
JIRA:
https://issues.redhat.com/browse/DROOLS-6258
How to retest this PR or trigger a specific build:
a pull request please add comment: Jenkins retest this
a full downstream build please add comment: Jenkins run fdb
a compile downstream build please add comment: Jenkins run cdb
a full production downstream build please add comment: Jenkins execute product fdb
an upstream build please add comment: Jenkins run upstream