测试进行中插件未显示空白

时间:2018-04-11 12:02:58

标签: jenkins testng

我按照此处给出的说明进行操作:https://wiki.jenkins.io/display/JENKINS/Test+In+Progress+Plugin

但无法查看正在进行的测试的任何细节。

获得以下异常:

  

java.lang.RuntimeException:无法发送消息   org.jenkinsci.testinprogress.messagesender.MessageSender.flush(MessageSender.java:179)     在   org.jenkinsci.testinprogress.messagesender.MessageSender.testStarted(MessageSender.java:85)     在   org.imaginea.jenkins.plugins.testinprogress.testng.TestNGProgressRunListener.onTestStart(TestNGProgressRunListener.java:225)     在org.testng.internal.Invoker.runTestListeners(Invoker.java:1739)     在org.testng.internal.Invoker.runTestListeners(Invoker.java:1714)     在org.testng.internal.Invoker.invokeMethod(Invoker.java:640)at   org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)at   org.testng.internal.TestMethodWithDataProviderMethodWorker.call(TestMethodWithDataProviderMethodWorker.java:75)     在   org.testng.internal.TestMethodWithDataProviderMethodWorker.call(TestMethodWithDataProviderMethodWorker.java:14)     在java.util.concurrent.FutureTask.run(FutureTask.java:266)at   java.util.concurrent.Executors $ RunnableAdapter.call(Executors.java:511)     在java.util.concurrent.FutureTask.run(FutureTask.java:266)at   java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)     在   java.util.concurrent.ThreadPoolExecutor中的$ Worker.run(ThreadPoolExecutor.java:624)     在java.lang.Thread.run(Thread.java:748)引起:   java.net.SocketException:由peer重置连接:套接字写入错误     在java.net.SocketOutputStream.socketWrite0(Native Method)at   java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)     在java.net.SocketOutputStream.write(SocketOutputStream.java:155)at   sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)at at   sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291)at at   sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:295)at   sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)at   java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)at   java.io.BufferedWriter.flush(BufferedWriter.java:254)at   org.jenkinsci.testinprogress.messagesender.MessageSender.flush(MessageSender.java:177)     ......还有14个

使用TestNG和mvn clean验证运行我的测试。

0 个答案:

没有答案