File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 45
45
/**
46
46
* An integration test for detection rules
47
47
*/
48
- @ Ignore
49
48
public class DetectionRulesIT extends MlNativeAutodetectIntegTestCase {
50
49
51
50
@ After
52
51
public void cleanUpTest () throws Exception {
53
52
cleanUp ();
54
53
}
55
54
55
+ @ AwaitsFix (bugUrl = "this test is muted temporarily until the new rules implementation is merged in" )
56
56
public void testNumericalRule () throws Exception {
57
57
RuleCondition condition1 = RuleCondition .createNumerical (
58
58
RuleConditionType .NUMERICAL_ACTUAL ,
@@ -154,6 +154,7 @@ public void testNumericalRule() throws Exception {
154
154
assertThat (secondHaldRecordByFieldValues , contains ("by_field_value_1" , "by_field_value_2" ));
155
155
}
156
156
157
+ @ AwaitsFix (bugUrl = "this test is muted temporarily until the new rules implementation is merged in" )
157
158
public void testCategoricalRule () throws Exception {
158
159
MlFilter safeIps = new MlFilter ("safe_ips" , Arrays .asList ("111.111.111.111" , "222.222.222.222" ));
159
160
assertThat (putMlFilter (safeIps ), is (true ));
Original file line number Diff line number Diff line change 35
35
import static org .hamcrest .Matchers .equalTo ;
36
36
import static org .hamcrest .Matchers .is ;
37
37
38
- @ Ignore
39
38
public class ScheduledEventsIT extends MlNativeAutodetectIntegTestCase {
40
39
41
40
@ After
42
41
public void cleanUpTest () {
43
42
cleanUp ();
44
43
}
45
44
45
+ @ AwaitsFix (bugUrl = "this test is muted temporarily until the new rules implementation is merged in" )
46
46
public void testScheduledEvents () throws IOException {
47
47
48
48
TimeValue bucketSpan = TimeValue .timeValueMinutes (30 );
@@ -154,6 +154,7 @@ public void testScheduledEvents() throws IOException {
154
154
assertThat (records , is (empty ()));
155
155
}
156
156
157
+ @ AwaitsFix (bugUrl = "this test is muted temporarily until the new rules implementation is merged in" )
157
158
public void testScheduledEventWithInterimResults () throws IOException {
158
159
TimeValue bucketSpan = TimeValue .timeValueMinutes (30 );
159
160
Job .Builder job = createJob ("scheduled-events-interim-results" , bucketSpan );
@@ -195,6 +196,7 @@ public void testScheduledEventWithInterimResults() throws IOException {
195
196
/**
196
197
* Test an open job picks up changes to scheduled events/calendars
197
198
*/
199
+ @ AwaitsFix (bugUrl = "this test is muted temporarily until the new rules implementation is merged in" )
198
200
public void testOnlineUpdate () throws Exception {
199
201
TimeValue bucketSpan = TimeValue .timeValueMinutes (30 );
200
202
Job .Builder job = createJob ("scheduled-events-online-update" , bucketSpan );
You can’t perform that action at this time.
0 commit comments