Skip to content

RATIS-1616. Include test source to check#674

Closed
xleoken wants to merge 1 commit intoapache:masterfrom
xleoken:build
Closed

RATIS-1616. Include test source to check#674
xleoken wants to merge 1 commit intoapache:masterfrom
xleoken:build

Conversation

@xleoken
Copy link
Member

@xleoken xleoken commented Jul 7, 2022

What changes were proposed in this pull request?

Include test source to check.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/RATIS-1616

How was this patch tested?

(Please explain how this patch was tested. Ex: unit tests, manual tests)
(If this patch involves UI changes, please attach a screen-shot; otherwise, remove this)

<configuration>
<configLocation>dev-support/checkstyle.xml</configLocation>
<failOnViolation>false</failOnViolation>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@leo65535 , thanks for working on this. Fixing the checkstyle warnings in test is good. However, let's don't run checkstyle for the tests. We should focus more on the main code instead of spending too much energy on the tests.

Copy link
Member Author

@xleoken xleoken Jul 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sense. But it's better to keep the same rules for both source and test code. Developers will always meet the source code check style error, but test code is ok, this is not friendly for developers.

@xleoken xleoken closed this by deleting the head repository Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants