Skip to content

Commit 4de4447

Browse files
Use @AwaitsFix instead of @ignore
1 parent 58caa58 commit 4de4447

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/DetectionRulesIT.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,14 @@
4545
/**
4646
* An integration test for detection rules
4747
*/
48-
@Ignore
4948
public class DetectionRulesIT extends MlNativeAutodetectIntegTestCase {
5049

5150
@After
5251
public void cleanUpTest() throws Exception {
5352
cleanUp();
5453
}
5554

55+
@AwaitsFix(bugUrl = "this test is muted temporarily until the new rules implementation is merged in")
5656
public void testNumericalRule() throws Exception {
5757
RuleCondition condition1 = RuleCondition.createNumerical(
5858
RuleConditionType.NUMERICAL_ACTUAL,
@@ -154,6 +154,7 @@ public void testNumericalRule() throws Exception {
154154
assertThat(secondHaldRecordByFieldValues, contains("by_field_value_1", "by_field_value_2"));
155155
}
156156

157+
@AwaitsFix(bugUrl = "this test is muted temporarily until the new rules implementation is merged in")
157158
public void testCategoricalRule() throws Exception {
158159
MlFilter safeIps = new MlFilter("safe_ips", Arrays.asList("111.111.111.111", "222.222.222.222"));
159160
assertThat(putMlFilter(safeIps), is(true));

x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/ScheduledEventsIT.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@
3535
import static org.hamcrest.Matchers.equalTo;
3636
import static org.hamcrest.Matchers.is;
3737

38-
@Ignore
3938
public class ScheduledEventsIT extends MlNativeAutodetectIntegTestCase {
4039

4140
@After
4241
public void cleanUpTest() {
4342
cleanUp();
4443
}
4544

45+
@AwaitsFix(bugUrl = "this test is muted temporarily until the new rules implementation is merged in")
4646
public void testScheduledEvents() throws IOException {
4747

4848
TimeValue bucketSpan = TimeValue.timeValueMinutes(30);
@@ -154,6 +154,7 @@ public void testScheduledEvents() throws IOException {
154154
assertThat(records, is(empty()));
155155
}
156156

157+
@AwaitsFix(bugUrl = "this test is muted temporarily until the new rules implementation is merged in")
157158
public void testScheduledEventWithInterimResults() throws IOException {
158159
TimeValue bucketSpan = TimeValue.timeValueMinutes(30);
159160
Job.Builder job = createJob("scheduled-events-interim-results", bucketSpan);
@@ -195,6 +196,7 @@ public void testScheduledEventWithInterimResults() throws IOException {
195196
/**
196197
* Test an open job picks up changes to scheduled events/calendars
197198
*/
199+
@AwaitsFix(bugUrl = "this test is muted temporarily until the new rules implementation is merged in")
198200
public void testOnlineUpdate() throws Exception {
199201
TimeValue bucketSpan = TimeValue.timeValueMinutes(30);
200202
Job.Builder job = createJob("scheduled-events-online-update", bucketSpan);

0 commit comments

Comments
 (0)