执行用例报错,提示 java.net.SocketException: Software caused connection abort: socket write error
|
解决方法:
碰到这个问题不是代码问题,因为通过mvn test去执行是不会报错的,那么分析是testNG插件问题,google出来大致也是因为插件版本问题,需要使用低版本的testNG 插件,
统一插件版本和pom.xml中的版本,如我个人统一使用6.9.5版本解决了该问题
参考资料:
https://github.com/cbeust/testng-eclipse/issues/91
https://github.com/cbeust/testng-eclipse/issues/329
作者:jwentest
出处:http://www.cnblogs.com/jwentest/
虽千万人,吾往矣!文章先发到语雀:https://www.yuque.com/qianwang/testway