-
Notifications
You must be signed in to change notification settings - Fork 3
Continue cleanups post removing HDFS from Solr #18
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
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: epugh <[email protected]>
… classes Co-authored-by: epugh <[email protected]>
|
@copilot Can you run the gradlew tidy commmand? |
Co-authored-by: epugh <[email protected]>
|
@copilot Looks like AbstractFullDistribZkTestBase extends AbstractDistribZkTestBase and that is the only one who extends AbstractDistribZkTestBase. Can they be merged into just a single file? |
Merged |
…github.com:epugh/solr into copilot/merge-abstract-restart-while-updating-test
So lets be random! Remove reference to no longer existing HDFS test
Give non hdfs centric names for this code base.
|
Just go ahead and rename the method.. |
… use this method. Keeping for now.
|
@copilot Based on all the changes to this branch, can you update the summary for the PR? |
Updated the PR description with a comprehensive summary of all changes including the abstract test class consolidation, HDFS reference cleanup, and notes about retained abstract classes. |
…act-restart-while-updating-test
Consolidate abstract test base classes that have only one subclass by merging them into their concrete test classes. Removes obsolete HDFS contrib references and cleans up HDFS-specific code.
Description
Abstract test classes in
org.apache.solr.cloudthat existed solely to support HDFS contrib (now removed) have been merged into their single concrete subclasses. Additionally, HDFS-specific references in production code have been cleaned up.Solution
Merged 13 abstract classes into concrete tests:
AbstractRestartWhileUpdatingTestBase→RestartWhileUpdatingTestAbstractBasicDistributedZk2TestBase→BasicDistributedZk2TestAbstractBasicDistributedZkTestBase→BasicDistributedZkTestAbstractChaosMonkeyNothingIsSafeTestBase→ChaosMonkeyNothingIsSafeTestAbstractChaosMonkeySafeLeaderTestBase→ChaosMonkeySafeLeaderTestAbstractDigestZkACLAndCredentialsProvidersTestBase→VMParamsZkACLAndCredentialsProvidersTestAbstractMoveReplicaTestBase→MoveReplicaTestAbstractRecoveryZkTestBase→RecoveryZkTestAbstractSyncSliceTestBase→SyncSliceTestAbstractTlogReplayBufferedWhileIndexingTestBase→TlogReplayBufferedWhileIndexingTestAbstractUnloadDistributedZkTestBase→UnloadDistributedZkTestAbstractCollectionsAPIDistributedZkTestBase→CollectionsAPIDistributedZkTestAbstractDistribZkTestBase→AbstractFullDistribZkTestBaseHDFS Reference Cleanup:
moveHdfsReplicatomoveSharedFsReplicainMoveReplicaCmd.javatestTlogReplayWithKillRecoveringReplicaAbstractCloudBackupRestoreTestCasetestMoveReplicaToSharedFs()test that is now obsoleteUpdated dependent references in:
OverriddenZkACLAndCredentialsProvidersTestOutOfBoxZkACLAndCredentialsProvidersTestAbstractDistribZkTestBasenow useAbstractFullDistribZkTestBaseRetained abstract classes (still have multiple subclasses in core or modules):
AbstractCloudBackupRestoreTestCase,AbstractIncrementalBackupTest,AbstractInstallShardTest,AbstractBackupRepositoryTestAbstractFullDistribZkTestBase,AbstractZkTestCaseNotes:
Tests
Compilation verified. Test execution validated. Code formatting applied via
./gradlew tidy.Checklist
mainbranch../gradlew check.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.