Skip to content

Commit

Permalink
Revert "Mute all flaky IndicesRequestCacheIT tests (#14077)" (#14238) (
Browse files Browse the repository at this point in the history
…#14239)

This reverts commit fbe048f. Muting
these tests was only intended to be temporary to unblock the 2.15
release.


(cherry picked from commit 90ef844)

Signed-off-by: Andrew Ross <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 4038a3c commit 1a02c86
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,6 @@ 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 @@ -674,7 +673,6 @@ 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 @@ -759,7 +757,6 @@ 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 @@ -806,7 +803,6 @@ 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 @@ -985,7 +981,6 @@ 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 @@ -1026,7 +1021,6 @@ 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 @@ -1174,7 +1168,6 @@ 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 @@ -1229,7 +1222,6 @@ 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 1a02c86

Please sign in to comment.