Skip to content

Commit a952245

Browse files
authored
Fix missing feature flag on Streams YAML tests (#129747)
* Fix missing feature flag on YAML tests * Unmute tests
1 parent 0c0bf6b commit a952245

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

modules/streams/src/yamlRestTest/java/org/elasticsearch/streams/StreamsYamlTestSuiteIT.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
import com.carrotsearch.randomizedtesting.annotations.ParametersFactory;
1414

1515
import org.elasticsearch.test.cluster.ElasticsearchCluster;
16+
import org.elasticsearch.test.cluster.FeatureFlag;
1617
import org.elasticsearch.test.rest.yaml.ClientYamlTestCandidate;
1718
import org.elasticsearch.test.rest.yaml.ESClientYamlSuiteTestCase;
1819
import org.junit.ClassRule;
@@ -28,10 +29,11 @@ public static Iterable<Object[]> parameters() throws Exception {
2829
}
2930

3031
@ClassRule
31-
public static ElasticsearchCluster cluster = ElasticsearchCluster.local().module("streams").build();
32+
public static ElasticsearchCluster cluster = ElasticsearchCluster.local().module("streams").feature(FeatureFlag.LOGS_STREAM).build();
3233

3334
@Override
3435
protected String getTestRestCluster() {
3536
return cluster.getHttpAddresses();
3637
}
38+
3739
}

muted-tests.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -568,12 +568,6 @@ tests:
568568
- class: org.elasticsearch.search.query.RescoreKnnVectorQueryIT
569569
method: testKnnSearchRescore
570570
issue: https://github.com/elastic/elasticsearch/issues/129713
571-
- class: org.elasticsearch.streams.StreamsYamlTestSuiteIT
572-
method: test {yaml=streams/logs/10_basic/Basic toggle of logs state enable to disable and back}
573-
issue: https://github.com/elastic/elasticsearch/issues/129733
574-
- class: org.elasticsearch.streams.StreamsYamlTestSuiteIT
575-
method: test {yaml=streams/logs/10_basic/Check for repeated toggle to same state}
576-
issue: https://github.com/elastic/elasticsearch/issues/129735
577571
- class: org.elasticsearch.snapshots.SnapshotShutdownIT
578572
method: testSnapshotShutdownProgressTracker
579573
issue: https://github.com/elastic/elasticsearch/issues/129752

0 commit comments

Comments
 (0)