The GitHub Actions job "Schedule - Report" on shardingsphere.git/master has 
failed.
Run started by GitHub user zhaojinchao95 (triggered by zhaojinchao95).

Head commit for run:
86874ffa69d34e38f7ca17ada30af9bf9fa601f6 / Liang Zhang <zhangli...@apache.org>
Generalize OpenGaussContainer database type checking (#35324)

* Replace MockedDatabaseType with TypedSPILoader in tests

- Remove usage of MockedDatabaseType from multiple test files
- Use TypedSPILoader.getService(DatabaseType.class, "FIXTURE") to get 
DatabaseType instance
- Update import statements and test logic to use the new DatabaseType instance
- Improve test readability and reduce reliance on mock classes

* Remove redundant method and optimize test structure

- Remove getDialectTableMetaDataLoader() method
- Directly use TypedSPILoader and DatabaseTypedSPILoader services
- Add databaseType and dialectMetaDataLoader as test class fields
- Update test methods to use the new approach
- Add JDBCResourceOpenedButNotSafelyClosed annotation to relevant tests

* Generalize OpenGaussContainer database type checking

- Replace specific OpenGaussDatabaseType checks with a generic 
getDatabaseType() method
- Improve code readability and maintainability by removing class type 
comparisons

* Generalize OpenGaussContainer database type checking

- Replace specific OpenGaussDatabaseType checks with a generic 
getDatabaseType() method
- Improve code readability and maintainability by removing class type 
comparisons

Report URL: https://github.com/apache/shardingsphere/actions/runs/14824751638

With regards,
GitHub Actions via GitBox

Reply via email to