Skip to content

Commit 42fbaa8

Browse files
authored
Remove awaits for closed issues (elastic#132306)
* Remove awaits for closed issues
1 parent 1be098a commit 42fbaa8

File tree

21 files changed

+24
-34
lines changed

21 files changed

+24
-34
lines changed

muted-tests.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,30 @@ tests:
510510
- class: org.elasticsearch.xpack.esql.qa.mixed.EsqlClientYamlIT
511511
method: test {p0=esql/230_folding/CIDR_MATCH with non-foldable CIDRs}
512512
issue: https://github.com/elastic/elasticsearch/issues/132931
513+
- class: org.elasticsearch.packaging.test.ArchiveGenerateInitialCredentialsTests
514+
method: test40VerifyAutogeneratedCredentials
515+
issue: https://github.com/elastic/elasticsearch/issues/132877
516+
- class: org.elasticsearch.packaging.test.ArchiveGenerateInitialCredentialsTests
517+
method: test50CredentialAutogenerationOnlyOnce
518+
issue: https://github.com/elastic/elasticsearch/issues/132878
519+
- class: org.elasticsearch.upgrades.TransformSurvivesUpgradeIT
520+
method: testTransformRollingUpgrade
521+
issue: https://github.com/elastic/elasticsearch/issues/132892
522+
- class: org.elasticsearch.index.mapper.LongFieldMapperTests
523+
method: testFetchCoerced
524+
issue: https://github.com/elastic/elasticsearch/issues/132893
525+
- class: org.elasticsearch.xpack.eql.planner.QueryTranslatorTests
526+
method: testMatchOptimization
527+
issue: https://github.com/elastic/elasticsearch/issues/132894
528+
- class: org.elasticsearch.xpack.deprecation.DeprecationHttpIT
529+
method: testUniqueDeprecationResponsesMergedTogether
530+
issue: https://github.com/elastic/elasticsearch/issues/132895
531+
- class: org.elasticsearch.search.CCSDuelIT
532+
method: testTermsAggs
533+
issue: https://github.com/elastic/elasticsearch/issues/132879
534+
- class: org.elasticsearch.search.CCSDuelIT
535+
method: testTermsAggsWithProfile
536+
issue: https://github.com/elastic/elasticsearch/issues/132880
513537

514538
# Examples:
515539
#

qa/multi-cluster-search/src/test/java/org/elasticsearch/search/CCSDuelIT.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,6 @@ public void testFieldCollapsingSortByField() throws Exception {
670670
}
671671
}
672672

673-
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/40005")
674673
public void testTermsAggs() throws Exception {
675674
assumeMultiClusterSetup();
676675
{
@@ -685,7 +684,6 @@ public void testTermsAggs() throws Exception {
685684
}
686685
}
687686

688-
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/40005")
689687
public void testTermsAggsWithProfile() throws Exception {
690688
assumeMultiClusterSetup();
691689
{

qa/packaging/src/test/java/org/elasticsearch/packaging/test/ArchiveGenerateInitialCredentialsTests.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ public void test30NoAutogenerationWhenDaemonized() throws Exception {
7878
stopElasticsearch();
7979
}
8080

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

100-
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/84407")
10199
public void test50CredentialAutogenerationOnlyOnce() throws Exception {
102100
/* Windows issue awaits fix: https://github.com/elastic/elasticsearch/issues/49340 */
103101
assumeTrue("expect command isn't on Windows", distribution.platform != Distribution.Platform.WINDOWS);

server/src/internalClusterTest/java/org/elasticsearch/indices/recovery/DanglingIndicesIT.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ public void testMustAcceptDataLossToImportDanglingIndex() throws Exception {
176176
* other will be considered dangling, and can therefore be listed and
177177
* deleted through the API
178178
*/
179-
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/108288")
180179
public void testDanglingIndexCanBeDeleted() throws Exception {
181180
final Settings settings = buildSettings(1, true);
182181
internalCluster().startNodes(3, settings);

server/src/test/java/org/elasticsearch/index/mapper/LongFieldMapperTests.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,9 @@ protected Number randomNumber() {
111111
if (randomBoolean()) {
112112
return randomDouble();
113113
}
114-
assumeFalse("https://github.com/elastic/elasticsearch/issues/70585", true);
115114
return randomDoubleBetween(Long.MIN_VALUE, Long.MAX_VALUE, true);
116115
}
117116

118-
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/70585")
119117
public void testFetchCoerced() throws IOException {
120118
assertFetch(randomFetchTestMapper(), "field", 3.783147882954537E18, randomFetchTestFormat());
121119
}

x-pack/plugin/analytics/src/test/java/org/elasticsearch/xpack/analytics/ttest/TTestAggregatorTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,6 @@ public void testEmptyBucket() throws IOException {
440440
}, new AggTestConfig(histogram, fieldType1, fieldType2, fieldTypePart));
441441
}
442442

443-
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/54365")
444443
public void testFormatter() throws IOException {
445444
TTestType tTestType = randomFrom(TTestType.values());
446445
MappedFieldType fieldType1 = new NumberFieldMapper.NumberFieldType("a", NumberFieldMapper.NumberType.INTEGER);

x-pack/plugin/deprecation/qa/src/javaRestTest/java/org/elasticsearch/xpack/deprecation/DeprecationHttpIT.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ private Response cleanupSettings() throws IOException {
179179
/**
180180
* Attempts to do a scatter/gather request that expects unique responses per sub-request.
181181
*/
182-
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/19222")
183182
public void testUniqueDeprecationResponsesMergedTogether() throws IOException {
184183
final String[] indices = new String[randomIntBetween(2, 5)];
185184

x-pack/plugin/eql/qa/correctness/src/javaRestTest/java/org/elasticsearch/xpack/eql/EsEQLCorrectnessIT.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
import org.apache.http.HttpHost;
1414
import org.apache.logging.log4j.LogManager;
1515
import org.apache.logging.log4j.Logger;
16-
import org.apache.lucene.tests.util.LuceneTestCase.AwaitsFix;
1716
import org.apache.lucene.tests.util.TimeUnits;
1817
import org.elasticsearch.client.HttpAsyncResponseConsumerFactory;
1918
import org.elasticsearch.client.Request;
@@ -47,7 +46,6 @@
4746

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

5351
private static final String PARAM_FORMATTING = "%1$s";

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/LogicalPlanOptimizerTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6642,7 +6642,6 @@ public void testSimplifyComparisonArithmeticWithDisjunction() {
66426642
doTestSimplifyComparisonArithmetics("12 * (-integer - 5) >= -120 OR integer < 5", "integer", LTE, 5);
66436643
}
66446644

6645-
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/108388")
66466645
public void testSimplifyComparisonArithmeticWithFloatsAndDirectionChange() {
66476646
doTestSimplifyComparisonArithmetics("float / -2 < 4", "float", GT, -8d);
66486647
doTestSimplifyComparisonArithmetics("float * -2 < 4", "float", GT, -2d);

x-pack/plugin/mapper-unsigned-long/src/test/java/org/elasticsearch/xpack/unsignedlong/UnsignedLongFieldMapperTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,6 @@ protected Number randomNumber() {
432432
if (randomBoolean()) {
433433
return randomDouble();
434434
}
435-
assumeFalse("https://github.com/elastic/elasticsearch/issues/70585", true);
436435
return randomDoubleBetween(0L, Long.MAX_VALUE, true);
437436
}
438437

0 commit comments

Comments
 (0)