You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to run all test cases in powershell of Windows 10, it failed when running cases in file com.alibaba.csp.sentinel.transport.command.http.HttpEventTaskTest.java, and here are some pictures about the failure:
Describe what you expected to happen
When run
mvn test
all test cases should success.
How to reproduce it (as minimally and precisely as possible)
enter the root directory of Sentinel
run command mvn test
Tell us your environment
os: Windows 10
maven version: 3.6.3
Anything else we need to know?
As the hint information indicates, maybe it should blame to the charset. After some search, I found that add
<argLine>-Dfile.encoding</argLine>
property in root pom.xml of plugin maven-surefire-plugin, as follow
Issue Description
bug report
Describe what happened (or what feature you want)
when running
mvn test
to run all test cases in powershell of Windows 10, it failed when running cases in file com.alibaba.csp.sentinel.transport.command.http.HttpEventTaskTest.java, and here are some pictures about the failure:
Describe what you expected to happen
When run
mvn test
all test cases should success.
How to reproduce it (as minimally and precisely as possible)
Tell us your environment
os: Windows 10
maven version: 3.6.3
Anything else we need to know?
As the hint information indicates, maybe it should blame to the charset. After some search, I found that add
property in root pom.xml of plugin maven-surefire-plugin, as follow
After added this, all test cases can be passed.
The text was updated successfully, but these errors were encountered: