Skip to content

Unmute 52_esql_insist_operator_synthetic_source.yml #130528

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions muted-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -584,12 +584,6 @@ tests:
- class: org.elasticsearch.xpack.esql.action.EsqlActionBreakerIT
method: testTopNPushedToLucene
issue: https://github.com/elastic/elasticsearch/issues/130505
- class: org.elasticsearch.xpack.logsdb.LogsdbTestSuiteIT
method: test {yaml=/52_esql_insist_operator_synthetic_source/FROM with INSIST_🐔and LIMIT 1}
issue: https://github.com/elastic/elasticsearch/issues/130506
- class: org.elasticsearch.xpack.logsdb.LogsdbTestSuiteIT
method: test {yaml=/52_esql_insist_operator_synthetic_source/FROM with INSIST_🐔}
issue: https://github.com/elastic/elasticsearch/issues/130507
- class: org.elasticsearch.common.ssl.DefaultJdkTrustConfigTests
method: testGetSystemTrustStoreWithNoSystemProperties
issue: https://github.com/elastic/elasticsearch/issues/130517
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import com.carrotsearch.randomizedtesting.annotations.Name;
import com.carrotsearch.randomizedtesting.annotations.ParametersFactory;

import org.elasticsearch.Build;
import org.elasticsearch.common.settings.SecureString;
import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.common.util.concurrent.ThreadContext;
Expand All @@ -20,6 +21,9 @@
import org.elasticsearch.test.rest.yaml.ESClientYamlSuiteTestCase;
import org.junit.ClassRule;

import java.util.ArrayList;
import java.util.List;

public class LogsdbTestSuiteIT extends ESClientYamlSuiteTestCase {

private static final String USER = "test_admin";
Expand All @@ -43,7 +47,19 @@ public LogsdbTestSuiteIT(@Name("yaml") ClientYamlTestCandidate testCandidate) {

@ParametersFactory
public static Iterable<Object[]> parameters() throws Exception {
return ESClientYamlSuiteTestCase.createParameters();
// Filter out 52_esql_insist_operator_synthetic_source.yml suite for snapshot builds:
// (esql doesn't use feature flags and all experimental features are just enabled if build is snapshot)

List<Object[]> filtered = new ArrayList<>();
for (Object[] params : ESClientYamlSuiteTestCase.createParameters()) {
ClientYamlTestCandidate candidate = (ClientYamlTestCandidate) params[0];
if (candidate.getRestTestSuite().getName().equals("52_esql_insist_operator_synthetic_source")
&& Build.current().isSnapshot() == false) {
continue;
}
filtered.add(new Object[] { candidate });
}
return filtered;
}

@Override
Expand Down