yyqdbngt opened a new pull request, #3862: URL: https://github.com/apache/rocketmq-dashboard/pull/3862
### Motivation The existing `CloudCredentialSchemaMigrationTest` covers the foreign-key addition on a clean database and the rejection of orphaned references. Local (non-cloud) instances that carry no credential reference were untested through the same migration. ### Changes - `migrationShouldKeepInstancesWithoutCredentialReferencesTest`: a legacy database mixing an unbound local instance with a real cloud credential migrates idempotently and gains the foreign key without data loss. ### Verification ``` mvn -B test -Dtest=CloudCredentialSchemaMigrationTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0 [INFO] BUILD SUCCESS ``` -- 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]
