Skip to content

Fix transient failure in UT testIndicesRoutingDiffWhenIndexDeletedAnd…#15592

Open
shailendra0811 wants to merge 1 commit intoopensearch-project:mainfrom
shailendra0811:singhlhs-rrt-fix-ut
Open

Fix transient failure in UT testIndicesRoutingDiffWhenIndexDeletedAnd…#15592
shailendra0811 wants to merge 1 commit intoopensearch-project:mainfrom
shailendra0811:singhlhs-rrt-fix-ut

Conversation

@shailendra0811
Copy link
Copy Markdown
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.

@github-actions
Copy link
Copy Markdown
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?

Signed-off-by: Shailendra Singh <singhlhs@amazon.com>
RoutingTable.Builder updatedRoutingTableBuilder = RoutingTable.builder(routingTable).remove(indexNameToDelete);

String indexName = randomAlphaOfLength(randomIntBetween(1, 50));
String indexName = randomAlphaOfLength(randomIntBetween(51, 100));
Copy link
Copy Markdown
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?

@github-actions
Copy link
Copy Markdown
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
Copy Markdown
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

Development

Successfully merging this pull request may close these issues.

[BUG] Flaky Test org.opensearch.cluster.routing.remote.RemoteRoutingTableServiceTests.testIndicesRoutingDiffWhenIndexDeletedAndAdded

2 participants