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

Fix transient failure in UT testIndicesRoutingDiffWhenIndexDeletedAnd… #15592

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

shailendra0811
Copy link
Contributor

@shailendra0811 shailendra0811 commented Sep 3, 2024

Description

Fix transient failure in UT testIndicesRoutingDiffWhenIndexDeletedAndAdd

Related Issues

Resolves #15588

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Copy link
Contributor

github-actions bot commented Sep 3, 2024

❌ Gradle check result for a5aad7d: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@@ -526,7 +526,7 @@ public void testIndicesRoutingDiffWhenIndexDeletedAndAdded() {
String indexNameToDelete = allIndices.get(randomIntBetween(0, allIndices.size() - 1));
RoutingTable.Builder updatedRoutingTableBuilder = RoutingTable.builder(routingTable).remove(indexNameToDelete);

String indexName = randomAlphaOfLength(randomIntBetween(1, 50));
String indexName = randomAlphaOfLength(randomIntBetween(51, 100));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how does this help fix the flakiness?

Copy link
Contributor

github-actions bot commented Sep 3, 2024

❌ Gradle check result for 4a2cb8e: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@opensearch-trigger-bot
Copy link
Contributor

This PR is stalled because it has been open for 30 days with no activity.

@opensearch-trigger-bot opensearch-trigger-bot bot added the stalled Issues that have stalled label Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ClusterManager:RemoteState flaky-test Random test failure that succeeds on second run stalled Issues that have stalled
Projects
None yet
2 participants