-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added unit tests for RuleMetaData.getInUsedStorageUnitNameAndRulesMap() #28724
Conversation
Hi @Sakshi-75, can you run |
Hi @strongduanmu , sure |
Hi @strongduanmu , I ran the command but it only told me that the check failed in the infra package, it didn't tell me what the exact issues were. I tried to find the checkstyle report as well but the checkstyle-result.xml file that I found was empty. Can you help me in figuring out which particular checkstyle rules my code is failing? |
Hi @Sakshi-75, You only need to query the log in front of the error message to find the class with the checkstyle problem. |
Hi @strongduanmu , I've fixed the issues and pushed the changes. Before pushing I ran the checkstyle check on my local to make sure there were no more errors. |
...n/src/test/java/org/apache/shardingsphere/infra/metadata/database/rule/RuleMetaDataTest.java
Outdated
Show resolved
Hide resolved
...n/src/test/java/org/apache/shardingsphere/infra/metadata/database/rule/RuleMetaDataTest.java
Outdated
Show resolved
Hide resolved
...n/src/test/java/org/apache/shardingsphere/infra/metadata/database/rule/RuleMetaDataTest.java
Outdated
Show resolved
Hide resolved
...n/src/test/java/org/apache/shardingsphere/infra/metadata/database/rule/RuleMetaDataTest.java
Outdated
Show resolved
Hide resolved
...n/src/test/java/org/apache/shardingsphere/infra/metadata/database/rule/RuleMetaDataTest.java
Outdated
Show resolved
Hide resolved
Hi @strongduanmu , I've made all the requested changes. |
...n/src/test/java/org/apache/shardingsphere/infra/metadata/database/rule/RuleMetaDataTest.java
Outdated
Show resolved
Hide resolved
...n/src/test/java/org/apache/shardingsphere/infra/metadata/database/rule/RuleMetaDataTest.java
Outdated
Show resolved
Hide resolved
Hi @strongduanmu , I've made the requested changes. |
Hi @strongduanmu , any more changes needed in this? |
Fixes #28681 .
Changes proposed in this pull request:
Added unit tests for RuleMetaData.getInUsedStorageUnitNameAndRulesMap()
Before committing this PR, I'm sure that I have checked the following options:
./mvnw clean install -B -T1C -Dmaven.javadoc.skip -Dmaven.jacoco.skip -e
.