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 RepositoriesServiceIT.testUpdateRepository from #15426 #15559

Merged
merged 1 commit into from
Sep 1, 2024

Conversation

ashking94
Copy link
Member

@ashking94 ashking94 commented Sep 1, 2024

Description

The RepositoriesServiceIT.testUpdateRepository had become flaky after the PR #15426. Build failure link - https://build.ci.opensearch.org/job/gradle-check/46080/. In the earlier PR, we had made a change to randomise the shard_path_type for all the existing snapshot ITs. This tests check that if the repository has no changes then the instance of repository should remain the same. Due to the randomness introduced earlier, this lead to different instance of repository before the update and after the update. This is now fixed by ensuring that we don't change the repository settings when it is not expected to.

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 1, 2024

✅ Gradle check result for 760387b: SUCCESS

Copy link

codecov bot commented Sep 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.95%. Comparing base (71d122b) to head (760387b).
Report is 2 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #15559      +/-   ##
============================================
- Coverage     71.99%   71.95%   -0.04%     
- Complexity    63700    63734      +34     
============================================
  Files          5248     5249       +1     
  Lines        297416   297643     +227     
  Branches      42984    43011      +27     
============================================
+ Hits         214113   214175      +62     
- Misses        65776    65897     +121     
- Partials      17527    17571      +44     

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

@ashking94 ashking94 merged commit 4c98c7e into opensearch-project:main Sep 1, 2024
59 of 60 checks passed
ashking94 added a commit to ashking94/OpenSearch that referenced this pull request Sep 4, 2024
ashking94 added a commit to ashking94/OpenSearch that referenced this pull request Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants