dataroaring commented on PR #62122: URL: https://github.com/apache/doris/pull/62122#issuecomment-4258564425
Added unit tests for the schemaHash polymorphism in commit 8711734: - `testLocalReplicaGetSchemaHash`: verifies `LocalReplica.getSchemaHash()` returns the constructor value - `testLocalReplicaSetSchemaHash`: verifies `setSchemaHash()` updates the stored value - `testBaseReplicaSchemaHashReturnsNegativeOne`: verifies base `Replica` returns `-1` and `setSchemaHash()` is a no-op - `testCloudReplicaSchemaHashReturnsNegativeOne`: verifies `CloudReplica` inherits the `-1` stub (schemaHash param harmlessly ignored) This addresses the review feedback requesting regression tests for the schemaHash behavior change. — ThinkOps 🤖 -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
