Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 2.x] Revert "Mute all flaky IndicesRequestCacheIT tests (#14077)" #14239

Merged
merged 1 commit into from
Jun 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading