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] [Segment Replication] Fix Flaky test SegmentReplicationRelocationIT.testPrimaryRelocation #10805

Merged
merged 1 commit into from
Oct 26, 2023

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 1e9ec52 from #10701.

…estPrimaryRelocation (#10701)

* Add primary mode check before assserting on primary mode.

Signed-off-by: Rishikesh1159 <[email protected]>

* remove unnecessary shardRouting check.

Signed-off-by: Rishikesh1159 <[email protected]>

* Add test logging.

Signed-off-by: Rishikesh1159 <[email protected]>

* Addressing comments on PR.

Signed-off-by: Rishikesh1159 <[email protected]>

---------

Signed-off-by: Rishikesh1159 <[email protected]>
(cherry picked from commit 1e9ec52)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@github-actions
Copy link
Contributor

Compatibility status:

Checks if related components are compatible with change 0e2acd2

Incompatible components

Incompatible components: [https://github.com/opensearch-project/security-analytics.git]

Skipped components

Compatible components

Compatible components: [https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/alerting.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/reporting.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/cross-cluster-replication.git, https://github.com/opensearch-project/custom-codecs.git, https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/performance-analyzer.git, https://github.com/opensearch-project/performance-analyzer-rca.git, https://github.com/opensearch-project/neural-search.git]

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@codecov
Copy link

codecov bot commented Oct 21, 2023

Codecov Report

Merging #10805 (0e2acd2) into 2.x (8896f58) will increase coverage by 0.00%.
Report is 3 commits behind head on 2.x.
The diff coverage is 81.48%.

@@            Coverage Diff            @@
##                2.x   #10805   +/-   ##
=========================================
  Coverage     70.94%   70.94%           
- Complexity    58705    58720   +15     
=========================================
  Files          4843     4843           
  Lines        277261   277273   +12     
  Branches      40673    40674    +1     
=========================================
+ Hits         196690   196715   +25     
- Misses        63858    63865    +7     
+ Partials      16713    16693   -20     
Files Coverage Δ
...s/replication/SegmentReplicationSourceHandler.java 96.00% <ø> (+3.50%) ⬆️
.../indices/replication/common/ReplicationTarget.java 78.75% <100.00%> (+1.11%) ⬆️
...nsearch/index/store/RemoteStoreFileDownloader.java 92.15% <84.00%> (-0.87%) ⬇️
...ices/replication/RemoteStoreReplicationSource.java 85.24% <75.00%> (-5.83%) ⬇️

... and 471 files with indirect coverage changes

@Rishikesh1159
Copy link
Member

@opensearch-ci-bot rebase

@Rishikesh1159 Rishikesh1159 merged commit c85e75c into 2.x Oct 26, 2023
42 of 67 checks passed
@github-actions github-actions bot deleted the backport/backport-10701-to-2.x branch October 26, 2023 20:29
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