Skip to content

Fix flaky test in RemoteStoreMigrationSettingsUpdateIT#16048

Merged
gbbafna merged 1 commit intoopensearch-project:mainfrom
ashking94:15810-fix-issue
Sep 24, 2024
Merged

Fix flaky test in RemoteStoreMigrationSettingsUpdateIT#16048
gbbafna merged 1 commit intoopensearch-project:mainfrom
ashking94:15810-fix-issue

Conversation

@ashking94
Copy link
Copy Markdown
Member

Description

This PR fixes the failing test testNewRestoredIndexIsRemoteStoreBackedForRemoteStoreDirectionAndMixedMode. The fix has been achieved by adding the SNAPSHOT_SHARD_PATH_PREFIX_SETTING to the docrep node as well.

Related Issues

Resolves #15810

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.

Signed-off-by: Ashish Singh <ssashish@amazon.com>
@github-actions github-actions bot added >test-failure Test failure from CI, local build, etc. autocut flaky-test Random test failure that succeeds on second run Storage:Snapshots labels Sep 23, 2024
@ashking94 ashking94 removed >test-failure Test failure from CI, local build, etc. flaky-test Random test failure that succeeds on second run autocut labels Sep 23, 2024
@ashking94 ashking94 added backport 2.x Backport to 2.x branch and removed Storage:Snapshots labels Sep 23, 2024
@github-actions github-actions bot added >test-failure Test failure from CI, local build, etc. autocut flaky-test Random test failure that succeeds on second run Storage:Snapshots labels Sep 23, 2024
@github-actions
Copy link
Copy Markdown
Contributor

✅ Gradle check result for 50a60f3: SUCCESS

@codecov
Copy link
Copy Markdown

codecov bot commented Sep 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.97%. Comparing base (036f6bc) to head (50a60f3).
Report is 4 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #16048      +/-   ##
============================================
+ Coverage     71.92%   71.97%   +0.05%     
+ Complexity    64400    64382      -18     
============================================
  Files          5281     5281              
  Lines        300995   300995              
  Branches      43479    43479              
============================================
+ Hits         216491   216649     +158     
+ Misses        66793    66530     -263     
- Partials      17711    17816     +105     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gbbafna gbbafna merged commit eeb2f39 into opensearch-project:main Sep 24, 2024
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 24, 2024
Signed-off-by: Ashish Singh <ssashish@amazon.com>
(cherry picked from commit eeb2f39)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
gbbafna pushed a commit that referenced this pull request Sep 24, 2024
(cherry picked from commit eeb2f39)

Signed-off-by: Ashish Singh <ssashish@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
ruai0511 pushed a commit to ruai0511/OpenSearch that referenced this pull request Oct 4, 2024
dk2k pushed a commit to dk2k/OpenSearch that referenced this pull request Oct 16, 2024
dk2k pushed a commit to dk2k/OpenSearch that referenced this pull request Oct 17, 2024
dk2k pushed a commit to dk2k/OpenSearch that referenced this pull request Oct 21, 2024
akolarkunnu pushed a commit to akolarkunnu/OpenSearch that referenced this pull request Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autocut backport 2.x Backport to 2.x branch flaky-test Random test failure that succeeds on second run skip-changelog Storage:Snapshots >test-failure Test failure from CI, local build, etc.

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

[AUTOCUT] Gradle Check Flaky Test Report for RemoteStoreMigrationSettingsUpdateIT

2 participants