Skip to content
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
42 changes: 0 additions & 42 deletions muted-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -588,12 +588,6 @@ tests:
- class: org.elasticsearch.search.sort.FieldSortIT
method: testSortMixedFieldTypes
issue: https://github.com/elastic/elasticsearch/issues/129445
- class: org.elasticsearch.upgrades.SyntheticSourceRollingUpgradeIT
method: testIndexing {upgradedNodes=3}
issue: https://github.com/elastic/elasticsearch/issues/135338
- class: org.elasticsearch.upgrades.SyntheticSourceRollingUpgradeIT
method: testIndexing {upgradedNodes=2}
issue: https://github.com/elastic/elasticsearch/issues/135344
- class: org.elasticsearch.xpack.esql.expression.function.scalar.score.DecayTests
method: "testEvaluateInManyThreads {TestCase=<double>, <double>, <double>, <_source> #17}"
issue: https://github.com/elastic/elasticsearch/issues/135357
Expand All @@ -606,45 +600,12 @@ tests:
- class: org.elasticsearch.xpack.esql.session.SessionUtilsTests
method: testFromPages
issue: https://github.com/elastic/elasticsearch/issues/135377
- class: org.elasticsearch.upgrades.LogsUsageRollingUpgradeIT
method: testUsage {upgradedNodes=3}
issue: https://github.com/elastic/elasticsearch/issues/135312
- class: org.elasticsearch.upgrades.NoLogsUsageRollingUpgradeIT
method: testUsage {upgradedNodes=3}
issue: https://github.com/elastic/elasticsearch/issues/135316
- class: org.elasticsearch.upgrades.NoLogsUsageRollingUpgradeIT
method: testUsage {upgradedNodes=2}
issue: https://github.com/elastic/elasticsearch/issues/135319
- class: org.elasticsearch.xpack.esql.expression.function.scalar.score.DecayTests
method: "testEvaluateBlockWithoutNulls {TestCase=<date_nanos>, <date_nanos>, <time_duration>, <_source> #12}"
issue: https://github.com/elastic/elasticsearch/issues/135394
- class: org.elasticsearch.upgrades.LogsdbIndexingRollingUpgradeIT
method: testIndexing {upgradedNodes=2}
issue: https://github.com/elastic/elasticsearch/issues/135327
- class: org.elasticsearch.upgrades.LogsdbIndexingRollingUpgradeIT
method: testIndexing {upgradedNodes=3}
issue: https://github.com/elastic/elasticsearch/issues/135320
- class: org.elasticsearch.upgrades.StandardToLogsDbIndexModeRollingUpgradeIT
method: testLogsIndexing {upgradedNodes=3}
issue: https://github.com/elastic/elasticsearch/issues/135315
- class: org.elasticsearch.upgrades.StandardToLogsDbIndexModeRollingUpgradeIT
method: testLogsIndexing {upgradedNodes=2}
issue: https://github.com/elastic/elasticsearch/issues/135314
- class: org.elasticsearch.xpack.esql.session.SessionUtilsTests
method: testCheckPagesBelowSize
issue: https://github.com/elastic/elasticsearch/issues/135398
- class: org.elasticsearch.upgrades.TextRollingUpgradeIT
method: testIndexing {upgradedNodes=3}
issue: https://github.com/elastic/elasticsearch/issues/135237
- class: org.elasticsearch.upgrades.MatchOnlyTextRollingUpgradeIT
method: testIndexing {upgradedNodes=3}
issue: https://github.com/elastic/elasticsearch/issues/135324
- class: org.elasticsearch.upgrades.MatchOnlyTextRollingUpgradeIT
method: testIndexing {upgradedNodes=2}
issue: https://github.com/elastic/elasticsearch/issues/135325
- class: org.elasticsearch.upgrades.TextRollingUpgradeIT
method: testIndexing {upgradedNodes=2}
issue: https://github.com/elastic/elasticsearch/issues/135238
- class: org.elasticsearch.upgrades.DataStreamsUpgradeIT
method: testDataStreamValidationDoesNotBreakUpgrade
issue: https://github.com/elastic/elasticsearch/issues/135406
Expand All @@ -654,9 +615,6 @@ tests:
- class: org.elasticsearch.upgrades.QueryableBuiltInRolesUpgradeIT
method: testBuiltInRolesSyncedOnClusterUpgrade
issue: https://github.com/elastic/elasticsearch/issues/135194
- class: org.elasticsearch.upgrades.StandardToLogsDbIndexModeRollingUpgradeIT
method: testLogsIndexing {upgradedNodes=1}
issue: https://github.com/elastic/elasticsearch/issues/135313
- class: org.elasticsearch.gradle.TestClustersPluginFuncTest
method: override jdk usage via ES_JAVA_HOME for known jdk os incompatibilities
issue: https://github.com/elastic/elasticsearch/issues/135413
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public class MapperFeatures implements FeatureSpecification {
static final NodeFeature PATTERN_TEXT = new NodeFeature("mapper.patterned_text");
static final NodeFeature IGNORED_SOURCE_FIELDS_PER_ENTRY = new NodeFeature("mapper.ignored_source_fields_per_entry");
public static final NodeFeature MULTI_FIELD_UNICODE_OPTIMISATION_FIX = new NodeFeature("mapper.multi_field.unicode_optimisation_fix");
static final NodeFeature PATTERN_TEXT_RENAME = new NodeFeature("mapper.pattern_text_rename");

@Override
public Set<NodeFeature> getTestFeatures() {
Expand Down Expand Up @@ -87,7 +88,8 @@ public Set<NodeFeature> getTestFeatures() {
PATTERN_TEXT,
IGNORED_SOURCE_FIELDS_PER_ENTRY,
MULTI_FIELD_UNICODE_OPTIMISATION_FIX,
MATCH_ONLY_TEXT_BLOCK_LOADER_FIX
MATCH_ONLY_TEXT_BLOCK_LOADER_FIX,
PATTERN_TEXT_RENAME
);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@

import com.carrotsearch.randomizedtesting.annotations.Name;

import org.elasticsearch.Build;
import org.elasticsearch.client.Request;
import org.junit.Before;

import java.io.IOException;
import java.time.Instant;
Expand All @@ -29,6 +31,13 @@ public LogsUsageRollingUpgradeIT(@Name("upgradedNodes") int upgradedNodes) {
super(upgradedNodes);
}

@Before
public void checkFeatures() {
if (Build.current().isSnapshot()) {
assumeTrue("rename of pattern_text mapper", oldClusterHasFeature("mapper.pattern_text_rename"));
}
}

public void testUsage() throws Exception {
assumeFalse("logsdb.prior_logs_usage only gets set in 8.x", oldClusterHasFeature("gte_v9.0.0"));
String dataStreamName = "logs-mysql-error";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

import com.carrotsearch.randomizedtesting.annotations.Name;

import org.elasticsearch.Build;
import org.elasticsearch.client.Request;
import org.elasticsearch.client.Response;
import org.elasticsearch.client.ResponseException;
Expand All @@ -20,6 +21,7 @@
import org.elasticsearch.common.xcontent.XContentHelper;
import org.elasticsearch.test.rest.ObjectPath;
import org.elasticsearch.xcontent.XContentType;
import org.junit.Before;

import java.io.IOException;
import java.io.InputStream;
Expand Down Expand Up @@ -74,6 +76,13 @@ public LogsdbIndexingRollingUpgradeIT(@Name("upgradedNodes") int upgradedNodes)
super(upgradedNodes);
}

@Before
public void checkFeatures() {
if (Build.current().isSnapshot()) {
assumeTrue("rename of pattern_text mapper", oldClusterHasFeature("mapper.pattern_text_rename"));
}
}

public void testIndexing() throws Exception {
String dataStreamName = "logs-bwc-test";
if (isOldCluster()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

import com.carrotsearch.randomizedtesting.annotations.Name;

import org.elasticsearch.Build;
import org.elasticsearch.client.Request;
import org.elasticsearch.client.Response;
import org.elasticsearch.client.ResponseException;
Expand All @@ -21,6 +22,7 @@
import org.elasticsearch.index.mapper.MapperFeatures;
import org.elasticsearch.test.rest.ObjectPath;
import org.elasticsearch.xcontent.XContentType;
import org.junit.Before;

import java.io.IOException;
import java.io.InputStream;
Expand Down Expand Up @@ -90,6 +92,13 @@ public MatchOnlyTextRollingUpgradeIT(@Name("upgradedNodes") int upgradedNodes) {
super(upgradedNodes);
}

@Before
public void checkFeatures() {
if (Build.current().isSnapshot()) {
assumeTrue("rename of pattern_text mapper", oldClusterHasFeature("mapper.pattern_text_rename"));
}
}

public void testIndexing() throws Exception {
assumeTrue(
"Match only text block loader fix is not present in this cluster",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@

import com.carrotsearch.randomizedtesting.annotations.Name;

import org.elasticsearch.Build;
import org.junit.Before;

import java.time.Instant;
import java.util.Map;

Expand All @@ -26,6 +29,13 @@ public NoLogsUsageRollingUpgradeIT(@Name("upgradedNodes") int upgradedNodes) {
super(upgradedNodes);
}

@Before
public void checkFeatures() {
if (Build.current().isSnapshot()) {
assumeTrue("rename of pattern_text mapper", oldClusterHasFeature("mapper.pattern_text_rename"));
}
}

public void testUsage() throws Exception {
String dataStreamName = "logs-mysql-error";
if (isOldCluster()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

import com.carrotsearch.randomizedtesting.annotations.Name;

import org.elasticsearch.Build;
import org.elasticsearch.client.Request;
import org.elasticsearch.client.Response;
import org.elasticsearch.client.RestClient;
Expand All @@ -24,6 +25,7 @@
import org.elasticsearch.test.cluster.local.distribution.DistributionType;
import org.hamcrest.Matcher;
import org.hamcrest.Matchers;
import org.junit.Before;
import org.junit.ClassRule;

import java.io.IOException;
Expand Down Expand Up @@ -114,6 +116,13 @@ protected Settings restClientSettings() {
}
}""";

@Before
public void checkFeatures() {
if (Build.current().isSnapshot()) {
assumeTrue("rename of pattern_text mapper", oldClusterHasFeature("mapper.pattern_text_rename"));
}
}

public void testLogsIndexing() throws IOException {
if (isOldCluster()) {
// given - create a template and data stream
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@

import com.carrotsearch.randomizedtesting.annotations.Name;

import org.elasticsearch.Build;
import org.elasticsearch.client.Request;
import org.elasticsearch.test.rest.ObjectPath;
import org.hamcrest.Matchers;
import org.junit.Before;

import java.time.Instant;
import java.util.Arrays;
Expand Down Expand Up @@ -70,6 +72,13 @@ public SyntheticSourceRollingUpgradeIT(@Name("upgradedNodes") int upgradedNodes)
super(upgradedNodes);
}

@Before
public void checkFeatures() {
if (Build.current().isSnapshot()) {
assumeTrue("rename of pattern_text mapper", oldClusterHasFeature("mapper.pattern_text_rename"));
}
}

public void testIndexing() throws Exception {
assumeTrue("requires storing leaf array offsets", oldClusterHasFeature("gte_v9.1.0"));
String dataStreamName = "logs-bwc-test";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

import com.carrotsearch.randomizedtesting.annotations.Name;

import org.elasticsearch.Build;
import org.elasticsearch.client.Request;
import org.elasticsearch.client.Response;
import org.elasticsearch.client.ResponseException;
Expand All @@ -18,6 +19,7 @@
import org.elasticsearch.common.xcontent.XContentHelper;
import org.elasticsearch.test.rest.ObjectPath;
import org.elasticsearch.xcontent.XContentType;
import org.junit.Before;

import java.io.IOException;
import java.io.InputStream;
Expand Down Expand Up @@ -87,6 +89,13 @@ public TextRollingUpgradeIT(@Name("upgradedNodes") int upgradedNodes) {
super(upgradedNodes);
}

@Before
public void checkFeatures() {
if (Build.current().isSnapshot()) {
assumeTrue("rename of pattern_text mapper", oldClusterHasFeature("mapper.pattern_text_rename"));
}
}

public void testIndexing() throws Exception {

if (isOldCluster()) {
Expand Down