Skip to content

Commit

Permalink
Mute all flaky IndicesRequestCacheIT tests (#14077)
Browse files Browse the repository at this point in the history
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]>
(cherry picked from commit fbe048f)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] committed Jun 7, 2024
1 parent 34af8c7 commit f6f9726
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,7 @@ public void testCacheWithFilteredAlias() throws InterruptedException {
assertCacheState(client, index, 2, 2);
}

@AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/11374")
public void testProfileDisableCache() throws Exception {
Client client = client();
String index = "index";
Expand Down Expand Up @@ -673,6 +674,7 @@ public void testProfileDisableCache() throws Exception {
}
}

@AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/12308")
public void testCacheWithInvalidation() throws Exception {
Client client = client();
String index = "index";
Expand Down Expand Up @@ -757,6 +759,7 @@ public void testCacheClearAPIRemovesStaleKeysWhenStalenessThresholdIsLow() throw
}

// when staleness threshold is lower than staleness, it should clean the stale keys from cache
@AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/13540")
public void testStaleKeysCleanupWithLowThreshold() throws Exception {
int cacheCleanIntervalInMillis = 1;
String node = internalCluster().startNode(
Expand Down Expand Up @@ -803,6 +806,7 @@ public void testStaleKeysCleanupWithLowThreshold() throws Exception {
}

// when staleness threshold is equal to staleness, it should clean the stale keys from cache
@AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/13503")
public void testCacheCleanupOnEqualStalenessAndThreshold() throws Exception {
int cacheCleanIntervalInMillis = 1;
String node = internalCluster().startNode(
Expand Down Expand Up @@ -981,6 +985,7 @@ public void testStaleKeysRemovalWithoutExplicitThreshold() throws Exception {
}

// when cache cleaner interval setting is not set, cache cleaner is configured appropriately with the fall-back setting
@AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/13711")
public void testCacheCleanupWithDefaultSettings() throws Exception {
int cacheCleanIntervalInMillis = 1;
String node = internalCluster().startNode(
Expand Down Expand Up @@ -1021,6 +1026,7 @@ public void testCacheCleanupWithDefaultSettings() throws Exception {
}

// staleness threshold updates flows through to the cache cleaner
@AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/13949")
public void testDynamicStalenessThresholdUpdate() throws Exception {
int cacheCleanIntervalInMillis = 1;
String node = internalCluster().startNode(
Expand Down Expand Up @@ -1168,6 +1174,7 @@ public void testCacheCleanupAfterIndexDeletion() throws Exception {
}

// when staleness threshold is lower than staleness, it should clean the cache from all indices having stale keys
@AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/13437")
public void testStaleKeysCleanupWithMultipleIndices() throws Exception {
int cacheCleanIntervalInMillis = 10;
String node = internalCluster().startNode(
Expand Down Expand Up @@ -1222,6 +1229,7 @@ public void testStaleKeysCleanupWithMultipleIndices() throws Exception {
}, cacheCleanIntervalInMillis * 2, TimeUnit.MILLISECONDS);
}

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

0 comments on commit f6f9726

Please sign in to comment.