File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -108,9 +108,6 @@ tests:
108108- class : org.elasticsearch.upgrades.LogsIndexModeFullClusterRestartIT
109109 method : testLogsIndexing {cluster=UPGRADED}
110110 issue : https://github.com/elastic/elasticsearch/issues/111306
111- - class : org.elasticsearch.xpack.core.ml.job.config.DetectionRuleTests
112- method : testEqualsAndHashcode
113- issue : https://github.com/elastic/elasticsearch/issues/111308
114111- class : org.elasticsearch.xpack.ml.integration.DatafeedJobsRestIT
115112 issue : https://github.com/elastic/elasticsearch/issues/111319
116113- class : org.elasticsearch.xpack.esql.analysis.VerifierTests
Original file line number Diff line number Diff line change @@ -139,6 +139,8 @@ protected DetectionRule mutateInstance(DetectionRule instance) {
139139
140140 if (actions .contains (RuleAction .FORCE_TIME_SHIFT ) && params .getForceTimeShift () == null ) {
141141 params = new RuleParams (new RuleParamsForForceTimeShift (randomLong ()));
142+ } else if (actions .contains (RuleAction .FORCE_TIME_SHIFT ) == false && params .getForceTimeShift () != null ) {
143+ params = new RuleParams ();
142144 }
143145
144146 return new DetectionRule .Builder (conditions ).setActions (actions ).setScope (scope ).setParams (params ).build ();
You can’t perform that action at this time.
0 commit comments