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] Mute all flaky IndicesRequestCacheIT tests #14082

Merged
merged 1 commit into from
Jun 10, 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,6 +631,7 @@ public void testCacheWithFilteredAlias() throws InterruptedException {
assertCacheState(client, index, 2, 2);
}

@AwaitsFix(bugUrl = "https:/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:/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:/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:/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:/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:/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:/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:/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