-
Notifications
You must be signed in to change notification settings - Fork 11.7k
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
[ISSUE #353]Optimzation For Unit Test #356
Conversation
.travis.yml
Outdated
@@ -3,7 +3,7 @@ notifications: | |||
recipients: | |||
- [email protected] | |||
on_success: change | |||
on_failure: always | |||
on_failure: never |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
@@ -314,8 +318,11 @@ | |||
<artifactId>maven-surefire-plugin</artifactId> | |||
<version>2.19.1</version> | |||
<configuration> | |||
<skipAfterFailureCount>1</skipAfterFailureCount> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good polish
pom.xml
Outdated
@@ -423,6 +433,7 @@ | |||
<argLine>@{failsafeArgLine}</argLine> | |||
<excludes> | |||
<exclude>**/NormalMsgDelayIT.java</exclude> | |||
<exclude>**/*Test.java</exclude> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
Thanks @what-a-good-jungle . LGTM, I will merge the pr when the checks all pass |
Please do not create a Pull Request without creating an issue first.
What is the purpose of the change
To decrease the time of conducting unit test.
Brief changelog
Decreased thread-sleep time and used StringBuffer and so on.