Skip to content
Merged
Show file tree
Hide file tree
Changes from 11 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
32 changes: 32 additions & 0 deletions muted-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,38 @@ tests:
- class: org.elasticsearch.xpack.esql.CsvTests
method: test {csv-spec:ip.CdirMatchEqualsInsOrs}
issue: https://github.com/elastic/elasticsearch/issues/132860
method: test {csv-spec:mv_percentile.FromIndexPercentile}
issue: https://github.com/elastic/elasticsearch/issues/132846
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems weird, shouldn't there be another class line?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes seems like merge conflict resolved badly, will fix. Thanks!

- class: org.elasticsearch.packaging.test.ArchiveGenerateInitialCredentialsTests
method: test40VerifyAutogeneratedCredentials
issue: TBD
- class: org.elasticsearch.packaging.test.ArchiveGenerateInitialCredentialsTests
method: test50CredentialAutogenerationOnlyOnce
issue: TBD
- class: org.elasticsearch.upgrades.TransformSurvivesUpgradeIT
method: testTransformRollingUpgrade
issue: TBD
- class: org.elasticsearch.index.mapper.LongFieldMapperTests
method: testFetchCoerced
issue: TBD
- class: org.elasticsearch.index.mapper.LongFieldMapperTests
method: testSyntheticSource
issue: TBD
- class: org.elasticsearch.index.mapper.LongFieldMapperTests
method: testFetchMany
issue: TBD
- class: org.elasticsearch.xpack.eql.planner.QueryTranslatorTests
method: testMatchOptimization
issue: TBD
- class: org.elasticsearch.xpack.deprecation.DeprecationHttpIT
method: testUniqueDeprecationResponsesMergedTogether
issue: TBD
- class: org.elasticsearch.search.CCSDuelIT
method: testTermsAggs
issue: TBD
- class: org.elasticsearch.search.CCSDuelIT
method: testTermsAggsWithProfile
issue: TBD

# Examples:
#
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,6 @@ public void testFieldCollapsingSortByField() throws Exception {
}
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/40005")
public void testTermsAggs() throws Exception {
assumeMultiClusterSetup();
{
Expand All @@ -685,7 +684,6 @@ public void testTermsAggs() throws Exception {
}
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/40005")
public void testTermsAggsWithProfile() throws Exception {
assumeMultiClusterSetup();
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ public void test30NoAutogenerationWhenDaemonized() throws Exception {
stopElasticsearch();
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/84407")
public void test40VerifyAutogeneratedCredentials() throws Exception {
/* Windows issue awaits fix: https://github.com/elastic/elasticsearch/issues/49340 */
assumeTrue("expect command isn't on Windows", distribution.platform != Distribution.Platform.WINDOWS);
Expand All @@ -97,7 +96,6 @@ public void test40VerifyAutogeneratedCredentials() throws Exception {
stopElasticsearch();
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/84407")
public void test50CredentialAutogenerationOnlyOnce() throws Exception {
/* Windows issue awaits fix: https://github.com/elastic/elasticsearch/issues/49340 */
assumeTrue("expect command isn't on Windows", distribution.platform != Distribution.Platform.WINDOWS);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ public void testMustAcceptDataLossToImportDanglingIndex() throws Exception {
* other will be considered dangling, and can therefore be listed and
* deleted through the API
*/
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/108288")
public void testDanglingIndexCanBeDeleted() throws Exception {
final Settings settings = buildSettings(1, true);
internalCluster().startNodes(3, settings);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,9 @@ protected Number randomNumber() {
if (randomBoolean()) {
return randomDouble();
}
assumeFalse("https://github.com/elastic/elasticsearch/issues/70585", true);
return randomDoubleBetween(Long.MIN_VALUE, Long.MAX_VALUE, true);
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/70585")
public void testFetchCoerced() throws IOException {
assertFetch(randomFetchTestMapper(), "field", 3.783147882954537E18, randomFetchTestFormat());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,6 @@ public void testEmptyBucket() throws IOException {
}, new AggTestConfig(histogram, fieldType1, fieldType2, fieldTypePart));
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/54365")
public void testFormatter() throws IOException {
TTestType tTestType = randomFrom(TTestType.values());
MappedFieldType fieldType1 = new NumberFieldMapper.NumberFieldType("a", NumberFieldMapper.NumberType.INTEGER);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ private Response cleanupSettings() throws IOException {
/**
* Attempts to do a scatter/gather request that expects unique responses per sub-request.
*/
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/19222")
public void testUniqueDeprecationResponsesMergedTogether() throws IOException {
final String[] indices = new String[randomIntBetween(2, 5)];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import org.apache.http.HttpHost;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.apache.lucene.tests.util.LuceneTestCase.AwaitsFix;
import org.apache.lucene.tests.util.TimeUnits;
import org.elasticsearch.client.HttpAsyncResponseConsumerFactory;
import org.elasticsearch.client.Request;
Expand Down Expand Up @@ -47,7 +46,6 @@

@TimeoutSuite(millis = 30 * TimeUnits.MINUTE)
@TestLogging(value = "org.elasticsearch.xpack.eql.EsEQLCorrectnessIT:INFO", reason = "Log query execution time")
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/112572")
public class EsEQLCorrectnessIT extends ESRestTestCase {

private static final String PARAM_FORMATTING = "%1$s";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ public void testLikeOptimization() throws Exception {
assertThat(asQuery(plan), containsString("\"exists\":{\"field\":\"process_name\""));
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/63263")
public void testMatchOptimization() throws Exception {
PhysicalPlan plan = plan("process where match(process_name, \".*\") ");
assertThat(asQuery(plan), containsString("\"exists\":{\"field\":\"process_name\""));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6558,7 +6558,6 @@ public void testSimplifyComparisonArithmeticWithDisjunction() {
doTestSimplifyComparisonArithmetics("12 * (-integer - 5) >= -120 OR integer < 5", "integer", LTE, 5);
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/108388")
public void testSimplifyComparisonArithmeticWithFloatsAndDirectionChange() {
doTestSimplifyComparisonArithmetics("float / -2 < 4", "float", GT, -8d);
doTestSimplifyComparisonArithmetics("float * -2 < 4", "float", GT, -2d);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,6 @@ protected Number randomNumber() {
if (randomBoolean()) {
return randomDouble();
}
assumeFalse("https://github.com/elastic/elasticsearch/issues/70585", true);
return randomDoubleBetween(0L, Long.MAX_VALUE, true);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,6 @@ public void assertStatsWithCacheMisses(String modelId, int inferenceCount) throw
assertThat(stats.toString(), (Integer) XContentMapValues.extractValue("inference_stats.cache_miss_count", stats), greaterThan(0));
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/105955")
public void testSimulate() throws IOException {
String classificationModelId = "test_classification_simulate";
putModel(classificationModelId, CLASSIFICATION_CONFIG);
Expand Down Expand Up @@ -388,7 +387,6 @@ public void testSimulate() throws IOException {
assertThat(responseString, containsString("Could not find trained model [test_classification_missing]"));
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/105955")
public void testSimulateWithDefaultMappedField() throws IOException {
String classificationModelId = "test_classification_default_mapped_field";
putModel(classificationModelId, CLASSIFICATION_CONFIG);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,6 @@ public void testDedicatedMlNode() throws Exception {
});
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/102657")
public void testMaxConcurrentJobAllocations() throws Exception {
int numMlNodes = 2;
internalCluster().ensureAtMostNumDataNodes(0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,6 @@ public void testThatAllAddressesAreAllowedWhenLicenseDisablesSecurity() {
assertAddressIsDeniedForProfile("default", "8.8.8.8");
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/62298")
public void testThatNodeStartsWithIPFilterDisabled() throws Exception {
Settings settings = Settings.builder()
.put("path.home", createTempDir())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ public void testScroll() throws SQLException {
* Test for {@code SELECT} that is implemented as a scroll query.
* In this test we don't retrieve all records and rely on close() to clean the cursor
*/
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/105840")
public void testIncompleteScroll() throws SQLException {
try (Connection c = esJdbc(); Statement s = c.createStatement()) {
s.setFetchSize(4);
Expand Down Expand Up @@ -153,7 +152,6 @@ public void testScrollWithDatetimeAndTimezoneParam() throws IOException, SQLExce
/**
* Test for {@code SELECT} that is implemented as an aggregation.
*/
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/105840")
public void testAggregation() throws SQLException {
try (Connection c = esJdbc(); Statement s = c.createStatement()) {
s.setFetchSize(4);
Expand All @@ -172,7 +170,6 @@ public void testAggregation() throws SQLException {
/**
* Test for nested documents.
*/
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/105840")
public void testNestedDocuments() throws SQLException {
try (Connection c = esJdbc(); Statement s = c.createStatement()) {
s.setFetchSize(5);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ public void testSelectProjectScoreInAggContext() throws IOException, SQLExceptio
}
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/105840")
public void testSelectOrderByScoreInAggContext() throws IOException, SQLException {
index("test", body -> body.field("foo", 1));
try (Connection c = esJdbc()) {
Expand Down Expand Up @@ -112,7 +111,6 @@ public void testSelectScoreSubField() throws IOException, SQLException {
}
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/105840")
public void testHardLimitForSortOnAggregate() throws IOException, SQLException {
index("test", body -> body.field("a", 1).field("b", 2));
try (Connection c = esJdbc()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,6 @@ public void testWildcardField() throws IOException, SQLException {
}
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/105840")
public void testConstantKeywordField() throws IOException, SQLException {
String mapping = """
"properties":{"id":{"type":"integer"},"text":{"type":"constant_keyword"}}""";
Expand Down Expand Up @@ -377,7 +376,6 @@ public void testTooMayParameters() throws IOException, SQLException {
}
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/105840")
public void testStringEscaping() throws SQLException {
try (Connection connection = esJdbc()) {
try (PreparedStatement statement = connection.prepareStatement("SELECT ?, ?, ?, ?")) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,6 @@ public void testGettingValidNumbersWithCastingFromUnsignedLong() throws IOExcept
}

// Double values testing
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/105840")
public void testGettingValidDoubleWithoutCasting() throws IOException, SQLException {
List<Double> doubleTestValues = createTestDataForNumericValueTests(ESTestCase::randomDouble);
double random1 = doubleTestValues.get(0);
Expand Down Expand Up @@ -1158,7 +1157,6 @@ public void testGettingValidBigDecimalFromFloatWithoutCasting() throws IOExcepti
);
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/105840")
public void testGettingValidBigDecimalFromDoubleWithoutCasting() throws IOException, SQLException {
List<Double> doubleTestValues = createTestDataForNumericValueTests(ESTestCase::randomDouble);
doWithQuery(
Expand Down Expand Up @@ -1406,7 +1404,6 @@ public void testGettingDateWithoutCalendarWithNanos() throws Exception {
});
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/105840")
public void testGettingDateWithCalendar() throws Exception {
long randomLongDate = randomMillisUpToYear9999();
setupDataForDateTimeTests(randomLongDate);
Expand Down Expand Up @@ -1436,7 +1433,6 @@ public void testGettingDateWithCalendar() throws Exception {
});
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/105840")
public void testGettingDateWithCalendarWithNanos() throws Exception {
assumeTrue(
"Driver version [" + JDBC_DRIVER_VERSION + "] doesn't support DATETIME with nanosecond resolution]",
Expand Down Expand Up @@ -1600,7 +1596,6 @@ public void testGettingTimestampWithoutCalendar() throws Exception {
});
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/105840")
public void testGettingTimestampWithoutCalendarWithNanos() throws Exception {
assumeTrue(
"Driver version [" + JDBC_DRIVER_VERSION + "] doesn't support DATETIME with nanosecond resolution]",
Expand Down Expand Up @@ -1933,7 +1928,6 @@ public void testGetTimeType() throws IOException, SQLException {
});
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/105840")
public void testValidGetObjectCalls() throws IOException, SQLException {
createIndexWithMapping("test");
updateMappingForNumericValuesTests("test");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,6 @@ public void testMetadataGetColumnsSingleFieldExcepted() throws Exception {
}
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/105840")
public void testMetadataGetColumnsDocumentExcluded() throws Exception {
createUser("no_3s", "read_test_without_c_3");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ protected Settings restAdminSettings() {
return Settings.builder().put(ThreadContext.PREFIX + ".Authorization", token).build();
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/52453")
public void testMonitorClusterHealth() throws Exception {
final String watchId = "cluster_health_watch";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ public void testAuthenticateWithCodeFlowAndClientPost() throws Exception {
verifyElasticsearchAccessTokenForCodeFlow(tokens.v1());
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/109871")
public void testAuthenticateWithCodeFlowAndClientJwtPost() throws Exception {
final PrepareAuthResponse prepareAuthResponse = getRedirectedFromFacilitator(REALM_NAME_CLIENT_JWT_AUTH);
final String redirectUri = authenticateAtOP(prepareAuthResponse.getAuthUri());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ protected RestClient buildClient(Settings settings, HttpHost[] hosts) throws IOE
* The purpose of this test is to ensure that when a transform is running through a rolling upgrade it
* keeps working and does not fail
*/
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/84283")
public void testTransformRollingUpgrade() throws Exception {
Request adjustLoggingLevels = new Request("PUT", "/_cluster/settings");
adjustLoggingLevels.setJsonEntity("""
Expand Down