Skip to content

Commit

Permalink
Revert "Mute all flaky IndicesRequestCacheIT tests (opensearch-projec…
Browse files Browse the repository at this point in the history
…t#14077)" (opensearch-project#14238)

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

Signed-off-by: Andrew Ross <andrross@amazon.com>
  • Loading branch information
andrross authored and harshavamsi committed Jul 12, 2024
1 parent 0fd6347 commit cdebe87
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 @@ -760,7 +758,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 @@ -807,7 +804,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 @@ -986,7 +982,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 @@ -1027,7 +1022,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 @@ -1175,7 +1169,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 @@ -1230,7 +1223,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 cdebe87

Please sign in to comment.