nprentza commented on code in PR #268:
URL:
https://github.com/apache/incubator-kie-benchmarks/pull/268#discussion_r1361779241
##########
drools-benchmarks-parent/drools-benchmarks-reliability/src/main/java/org/drools/benchmarks/reliability/AbstractReliabilityBenchmark.java:
##########
@@ -74,25 +88,33 @@ public String getInfinispanStorageMode() {
public void setupEnvironment() {
FileUtils.deleteDirectory(Path.of(GLOBAL_STATE_DIR));
- if (mode != NONE) {
- System.setProperty(INFINISPAN_STORAGE_MODE,
mode.getInfinispanStorageMode());
- }
+ if (module == Module.H2MVSTORE){
+ H2MVStoreStorageManager.cleanUpDatabase();
+ System.setProperty(DROOLS_RELIABILITY_MODULE_TEST, "H2MVSTORE");
+ configureServicePriorities();
+ }else { // assuming infinispan is the default module
+ System.setProperty(DROOLS_RELIABILITY_MODULE_TEST, "INFINISPAN");
+ configureServicePriorities();
Review Comment:
Ok, done.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]