-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Snapshot Interop] Adding more ITs for Snapshot Interoperability with… #9785
Conversation
Gradle Check (Jenkins) Run Completed with:
|
Compatibility status:Checks if related components are compatible with change fe56474 Incompatible componentsIncompatible components: [https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/sql.git] Skipped componentsCompatible componentsCompatible components: [https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/security-analytics.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/opensearch-oci-object-storage.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/cross-cluster-replication.git, https://github.com/opensearch-project/alerting.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/performance-analyzer.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/performance-analyzer-rca.git, https://github.com/opensearch-project/reporting.git] |
… Remote Store. Signed-off-by: Bansi Kasundra <[email protected]>
fe56474
to
08db963
Compare
Compatibility status:Checks if related components are compatible with change 08db963 Incompatible componentsIncompatible components: [https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/sql.git] Skipped componentsCompatible componentsCompatible components: [https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/security-analytics.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/opensearch-oci-object-storage.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/cross-cluster-replication.git, https://github.com/opensearch-project/alerting.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/performance-analyzer.git, https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/performance-analyzer-rca.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/reporting.git] |
Gradle Check (Jenkins) Run Completed with:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #9785 +/- ##
============================================
+ Coverage 71.04% 71.18% +0.13%
- Complexity 57821 58073 +252
============================================
Files 4818 4827 +9
Lines 273093 273539 +446
Branches 39811 39858 +47
============================================
+ Hits 194028 194716 +688
+ Misses 62762 62481 -281
- Partials 16303 16342 +39 ☔ View full report in Codecov by Sentry. |
FeatureFlagSetter.set(FeatureFlags.REMOTE_STORE); | ||
|
||
internalCluster().startClusterManagerOnlyNode(); | ||
final String dataNode = internalCluster().startDataOnlyNode(); | ||
ensureStableCluster(2); | ||
final String clusterManagerNode = internalCluster().getClusterManagerName(); | ||
|
||
final String snapshotRepoName = "snapshot-repo-name"; | ||
final Path snapshotRepoPath = randomRepoPath(); | ||
createRepository(snapshotRepoName, "mock", snapshotRepoSettingsForShallowCopy(snapshotRepoPath)); | ||
|
||
final Path remoteStoreRepoPath = randomRepoPath(); | ||
createRepository("remote-store-repo-name", "fs", remoteStoreRepoPath); | ||
|
||
final String remoteStoreEnabledIndexName = "remote-index-1"; | ||
final Settings remoteStoreEnabledIndexSettings = getRemoteStoreBackedIndexSettings(); | ||
createIndex(remoteStoreEnabledIndexName, remoteStoreEnabledIndexSettings); | ||
indexRandomDocs(remoteStoreEnabledIndexName, randomIntBetween(5, 10)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you move these common lines to a different method, so that they can be reused in other tests?
*/ | ||
public void testShallowCloneAcquireLockFailed() throws Exception { | ||
disableRepoConsistencyCheck("This test uses remote store repository"); | ||
FeatureFlagSetter.set(FeatureFlags.REMOTE_STORE); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't need this flag now as REMOTE_STORE is GA since 2.10.
This PR is stalled because it has been open for 30 days with no activity. |
Hi @kasundra07, Is this being worked upon? Feel free to reach out to maintainers for further reviews. |
This PR is stalled because it has been open for 30 days with no activity. |
Closing this stalled PR. Please reopen to continue with the contribution. |
… Remote Store.
Description
Adding more ITs for Snapshot Interoperability w/ Remote Store to improve test coverage.
Check List
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.