当 运行 所有适合度测试但不是独立测试时套接字关闭
Socket closed when running all the fitnesse test but not independently
当我尝试 运行 我的体能测试时,它们独立通过了。但是当我试图一次启动所有它们时,它冻结了,在第二个套件的第三次测试中,在 jenkins 中(它可以超时),我得到以下错误:
17:56:05 Output stream closed unexpectedly (Stop button pressed?) [Relais brisé (pipe)]
17:56:16 SEVERE: Killing slim client as exception occurred:fitnesse.slim.SlimError: Got invalid slim header from client. Read the following: HTTP/1.1 408 Request Time-out
17:56:16 WARNING: Failed to kill SLiM client [Socket closed]
17:56:16 java.net.SocketException: Socket closed
17:56:16 at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:116)
17:56:16 at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
17:56:16 at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
17:56:16 at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
17:56:16 at java.io.FilterOutputStream.close(FilterOutputStream.java:158)
17:56:16 at fitnesse.testsystems.slim.SlimCommandRunningClient.kill(SlimCommandRunningClient.java:81)
17:56:16 at fitnesse.testsystems.slim.SlimTestSystem.exceptionOccurred(SlimTestSystem.java:206)
17:56:16 at fitnesse.testsystems.slim.SlimTestSystem.processTable(SlimTestSystem.java:126)
17:56:16 at fitnesse.testsystems.slim.HtmlSlimTestSystem.processAllTablesOnPage(HtmlSlimTestSystem.java:48)
17:56:16 at fitnesse.testsystems.slim.SlimTestSystem.runTests(SlimTestSystem.java:101)
17:56:16 at fitnesse.testrunner.MultipleTestsRunner.executeTestSystemPages(MultipleTestsRunner.java:171)
17:56:16 at fitnesse.testrunner.MultipleTestsRunner.startTestSystemAndExecutePages(MultipleTestsRunner.java:89)
17:56:16 at fitnesse.testrunner.MultipleTestsRunner.internalExecuteTestPages(MultipleTestsRunner.java:77)
17:56:16 at fitnesse.testrunner.MultipleTestsRunner.executeTestPages(MultipleTestsRunner.java:63)
17:56:16 at fitnesse.responders.run.SuiteResponder.performExecution(SuiteResponder.java:306)
17:56:16 at fitnesse.responders.run.SuiteResponder.doExecuteTests(SuiteResponder.java:139)
17:56:16 at fitnesse.responders.run.SuiteResponder.doSending(SuiteResponder.java:117)
17:56:16 at fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:70)
17:56:16 at fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:25)
17:56:16 at fitnesse.FitNesseExpediter.sendResponse(FitNesseExpediter.java:102)
17:56:16 at fitnesse.FitNesseExpediter.start(FitNesseExpediter.java:52)
17:56:16 at fitnesse.FitNesseServer.serve(FitNesseServer.java:28)
17:56:16 at fitnesse.FitNesseServer.serve(FitNesseServer.java:21)
17:56:16 at fitnesse.socketservice.SocketService$ServerRunner.run(SocketService.java:122)
17:56:16 at java.lang.Thread.run(Thread.java:745)
17:56:16 SEVERE: Killing slim client as exception occurred:java.net.SocketException: Socket closed
屏蔽套件的测试没有什么特别的,其实之前就通过了,单独启动时就通过了,我根本没有接触。
我以前遇到过相反的问题"A single test is not working but when you launch all the test at once they pass"。这是由一些不是 WikiWord 的测试名称引起的。所以现在我所有的测试名称都是 wikiword。
有什么想法吗?
错误是由超时异常引起的(将默认值更改为更高的值,现在可以使用了)。我无法真正解释为什么在通过所有测试时花费了更长的时间,也许是因为随着时间的延长,我开始在计算机上做其他事情并且正在使用 CPU 时间和资源。
当我尝试 运行 我的体能测试时,它们独立通过了。但是当我试图一次启动所有它们时,它冻结了,在第二个套件的第三次测试中,在 jenkins 中(它可以超时),我得到以下错误:
17:56:05 Output stream closed unexpectedly (Stop button pressed?) [Relais brisé (pipe)]
17:56:16 SEVERE: Killing slim client as exception occurred:fitnesse.slim.SlimError: Got invalid slim header from client. Read the following: HTTP/1.1 408 Request Time-out
17:56:16 WARNING: Failed to kill SLiM client [Socket closed]
17:56:16 java.net.SocketException: Socket closed
17:56:16 at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:116)
17:56:16 at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
17:56:16 at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
17:56:16 at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
17:56:16 at java.io.FilterOutputStream.close(FilterOutputStream.java:158)
17:56:16 at fitnesse.testsystems.slim.SlimCommandRunningClient.kill(SlimCommandRunningClient.java:81)
17:56:16 at fitnesse.testsystems.slim.SlimTestSystem.exceptionOccurred(SlimTestSystem.java:206)
17:56:16 at fitnesse.testsystems.slim.SlimTestSystem.processTable(SlimTestSystem.java:126)
17:56:16 at fitnesse.testsystems.slim.HtmlSlimTestSystem.processAllTablesOnPage(HtmlSlimTestSystem.java:48)
17:56:16 at fitnesse.testsystems.slim.SlimTestSystem.runTests(SlimTestSystem.java:101)
17:56:16 at fitnesse.testrunner.MultipleTestsRunner.executeTestSystemPages(MultipleTestsRunner.java:171)
17:56:16 at fitnesse.testrunner.MultipleTestsRunner.startTestSystemAndExecutePages(MultipleTestsRunner.java:89)
17:56:16 at fitnesse.testrunner.MultipleTestsRunner.internalExecuteTestPages(MultipleTestsRunner.java:77)
17:56:16 at fitnesse.testrunner.MultipleTestsRunner.executeTestPages(MultipleTestsRunner.java:63)
17:56:16 at fitnesse.responders.run.SuiteResponder.performExecution(SuiteResponder.java:306)
17:56:16 at fitnesse.responders.run.SuiteResponder.doExecuteTests(SuiteResponder.java:139)
17:56:16 at fitnesse.responders.run.SuiteResponder.doSending(SuiteResponder.java:117)
17:56:16 at fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:70)
17:56:16 at fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:25)
17:56:16 at fitnesse.FitNesseExpediter.sendResponse(FitNesseExpediter.java:102)
17:56:16 at fitnesse.FitNesseExpediter.start(FitNesseExpediter.java:52)
17:56:16 at fitnesse.FitNesseServer.serve(FitNesseServer.java:28)
17:56:16 at fitnesse.FitNesseServer.serve(FitNesseServer.java:21)
17:56:16 at fitnesse.socketservice.SocketService$ServerRunner.run(SocketService.java:122)
17:56:16 at java.lang.Thread.run(Thread.java:745)
17:56:16 SEVERE: Killing slim client as exception occurred:java.net.SocketException: Socket closed
屏蔽套件的测试没有什么特别的,其实之前就通过了,单独启动时就通过了,我根本没有接触。
我以前遇到过相反的问题"A single test is not working but when you launch all the test at once they pass"。这是由一些不是 WikiWord 的测试名称引起的。所以现在我所有的测试名称都是 wikiword。
有什么想法吗?
错误是由超时异常引起的(将默认值更改为更高的值,现在可以使用了)。我无法真正解释为什么在通过所有测试时花费了更长的时间,也许是因为随着时间的延长,我开始在计算机上做其他事情并且正在使用 CPU 时间和资源。