menghaoranss opened a new issue #4439: Unit test task list of orchestraion URL: https://github.com/apache/incubator-shardingsphere/issues/4439 The following items are the classes and unit test methods that the orchestration module may need to be covered. We welcome developers who interested in this especially are not familiar with ShardingSphere but want to contribute to participate. Any questions or supplements, you can reply directly to this issue. And in order to help new contributors to participate in the project faster, we have provided a unit test development guide, please refer to this issue #4438 #### sharding-orchestration-center-api - `org.apache.shardingsphere.orchestration.center.yaml.config.YamlOrchestrationConfiguration` - [ ] assertInstanceConfigurationMap + `org.apache.shardingsphere.orchestration.center.yaml.swapper.OrchestrationConfigurationYamlSwapper` - [x] assertSwapToYamlOrchestrationConfiguration - [x] assertSwapToOrchestrationConfiguration #### sharding-orchestration-center-apollo + `org.apache.shardingsphere.orchestration.center.instance.ApolloInstrance` + [ ] assertGetWithNonExistentKey + [ ] assertUpdate + [ ] assertWatchDeletedChangedType + [ ] assertWatchAddChangedType #### sharding-orchestration-center-nacos (@haetao ) + `org.apache.shardingsphere.orchestration.center.instance.NacosConfigInstance` + [ ] assertGetWithNonExistentKey + [ ] assertGetWhenThrowException + [ ] assertUpdate + [ ] assertWatchUpdatedChangedType + [ ] assertWatchDeletedChangedType #### sharding-orchestration-center-zookeeper-curator (@huangyiminghappy ) + `org.apache.shardingsphere.orchestration.center.instance.CuratorZookeeperInstance` + [ ] assertWatchUpdatedChangedType + [ ] assertWatchDeletedChangedType + [ ] assertGet + [ ] assertGetWithNonExistentKey + [ ] assertGetFromTreeCache + [ ] assertGetFromZk + [ ] assertGetWhenThrowException + [ ] assertBuildCuratorClientWithYamlConfig + [ ] assertBuildCuratorClientWithDefaultConfig + [ ] assertBuildCuratorClientWithTimeToLiveSecondsEqualsZero + [ ] assertBuildCuratorClientWithTimeToLiveSecondsNotEqualsZero + [ ] assertBuildCuratorClientWithOperationTimeoutMillisecondsEqualsZero + [ ] assertBuildCuratorClientWithOperationTimeoutMillisecondsNotEqualsZero + [ ] assertBuildCuratorClientWithDigest + [ ] assertBuildCuratorClientWithoutDigest + [ ] assertLockInMultiThread + [ ] assertReleaseInMultiThread #### sharding-orchestration-core (@zjcnb ) + `org.apache.shardingsphere.orchestration.internal.registry.config.listener.SchemaChangedListener` + [ ] assertCreateWithInvalidNodeChangedEvent + [ ] assertCreateWithNullShardingSchemaName + [ ] assertCreateAddedEventWithEncryptRuleConfigurationForNewSchema + [ ] assertCreateAddedEventWithShardingRuleConfigurationForNewSchema + [ ] assertCreateAddedEventWithMasterSlaveRuleConfigurationForNewSchema + `org.apache.shardingsphere.orchestration.internal.registry.listener.PostShardingConfigCenterEventListener` + [ ] assertWatchMultipleKey + `org.apache.shardingsphere.orchestration.internal.registry.listener.PostShardingRegistryCenterEventListener` + [ ] assertWatchMutipleKey + [ ] assertWatchNotContainsChangedType + `org.apache.shardingsphere.orchestration.internal.registry.state.schema.OrchestrationShardingSchemaGroup` + [ ] assertgetDataSourceNames + `org.apache.shardingsphere.orchestration.internal.registry.state.schema.OrchestrationShardingSchema` + [ ] assertNewOrchestrationSchemaWithoutSpot
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
