提交 02851236 编写于 作者: J Jerome Lacoste

JENKINS-8702 improve unit tests. FilePathTest#testCopy2 isn't a test it has no assertions.

It is slow and take 10sec on my compiter. Disabling it. One could remove it I guess.
上级 b4717d25
......@@ -47,7 +47,7 @@ public class FilePathTest extends ChannelTestCase {
* An attempt to reproduce the file descriptor leak.
* If this operation leaks a file descriptor, 2500 should be enough, I think.
*/
public void testCopyTo2() throws Exception {
public void DISABLED_testCopyTo2() throws Exception {
for (int j=0; j<2500; j++) {
File tmp = File.createTempFile("testCopyFrom","");
FilePath f = new FilePath(tmp);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册