neu-hsc opened a new pull request, #8146: URL: https://github.com/apache/incubator-seata/pull/8146
### What this PR does This PR adds focused unit coverage for the `rm-datasource` resource id initializer path: - verifies `ResourceIdInitializerRegistry` selects DB-specific initializers and falls back to the default initializer - covers query-string stripping for default and MySQL resource ids - covers MySQL load-balance host normalization - covers PostgreSQL `currentSchema` preservation and separator normalization - covers DM schema filtering, Oracle/Oscar username suffixing, and SQL Server identity property filtering ### Why This helps increase `rm-datasource` module test coverage for #1714 without changing runtime behavior. ### Tests Ran the focused Maven reactor test locally: ```bash mvn -pl rm-datasource -am -Dtest=ResourceIdInitializerTest -DfailIfNoTests=false -DfailIfNoSpecifiedTests=false test ``` Local note: I used a temporary Maven settings file only to redirect the local repository away from my read-only Maven installation directory. -- 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]
