Skip to content

Commit fbe048f

Browse files
authored
Mute all flaky IndicesRequestCacheIT tests (#14077)
These are very frequent offenders and are causing a lot of pain in CI. Related issues: - #11374 - #12308 - #13540 - #13503 - #13711 - #13949 - #13437 - #13600 Signed-off-by: Andrew Ross <[email protected]>
1 parent 3d1fa98 commit fbe048f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

server/src/internalClusterTest/java/org/opensearch/indices/IndicesRequestCacheIT.java

+8
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,7 @@ public void testCacheWithFilteredAlias() throws InterruptedException {
631631
assertCacheState(client, index, 2, 2);
632632
}
633633

634+
@AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/11374")
634635
public void testProfileDisableCache() throws Exception {
635636
Client client = client();
636637
String index = "index";
@@ -673,6 +674,7 @@ public void testProfileDisableCache() throws Exception {
673674
}
674675
}
675676

677+
@AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/12308")
676678
public void testCacheWithInvalidation() throws Exception {
677679
Client client = client();
678680
String index = "index";
@@ -758,6 +760,7 @@ public void testCacheClearAPIRemovesStaleKeysWhenStalenessThresholdIsLow() throw
758760
}
759761

760762
// when staleness threshold is lower than staleness, it should clean the stale keys from cache
763+
@AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/13540")
761764
public void testStaleKeysCleanupWithLowThreshold() throws Exception {
762765
int cacheCleanIntervalInMillis = 1;
763766
String node = internalCluster().startNode(
@@ -804,6 +807,7 @@ public void testStaleKeysCleanupWithLowThreshold() throws Exception {
804807
}
805808

806809
// when staleness threshold is equal to staleness, it should clean the stale keys from cache
810+
@AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/13503")
807811
public void testCacheCleanupOnEqualStalenessAndThreshold() throws Exception {
808812
int cacheCleanIntervalInMillis = 1;
809813
String node = internalCluster().startNode(
@@ -982,6 +986,7 @@ public void testStaleKeysRemovalWithoutExplicitThreshold() throws Exception {
982986
}
983987

984988
// when cache cleaner interval setting is not set, cache cleaner is configured appropriately with the fall-back setting
989+
@AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/13711")
985990
public void testCacheCleanupWithDefaultSettings() throws Exception {
986991
int cacheCleanIntervalInMillis = 1;
987992
String node = internalCluster().startNode(
@@ -1022,6 +1027,7 @@ public void testCacheCleanupWithDefaultSettings() throws Exception {
10221027
}
10231028

10241029
// staleness threshold updates flows through to the cache cleaner
1030+
@AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/13949")
10251031
public void testDynamicStalenessThresholdUpdate() throws Exception {
10261032
int cacheCleanIntervalInMillis = 1;
10271033
String node = internalCluster().startNode(
@@ -1169,6 +1175,7 @@ public void testCacheCleanupAfterIndexDeletion() throws Exception {
11691175
}
11701176

11711177
// when staleness threshold is lower than staleness, it should clean the cache from all indices having stale keys
1178+
@AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/13437")
11721179
public void testStaleKeysCleanupWithMultipleIndices() throws Exception {
11731180
int cacheCleanIntervalInMillis = 10;
11741181
String node = internalCluster().startNode(
@@ -1223,6 +1230,7 @@ public void testStaleKeysCleanupWithMultipleIndices() throws Exception {
12231230
}, cacheCleanIntervalInMillis * 2, TimeUnit.MILLISECONDS);
12241231
}
12251232

1233+
@AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/13600")
12261234
public void testDeleteAndCreateSameIndexShardOnSameNode() throws Exception {
12271235
String node_1 = internalCluster().startNode(Settings.builder().build());
12281236
Client client = client(node_1);

0 commit comments

Comments
 (0)