From 72e0bb4db5de9435d08050a9b04ca656b150e38b Mon Sep 17 00:00:00 2001 From: kohsuke Date: Thu, 19 Feb 2009 18:49:10 +0000 Subject: [PATCH] bug fix in the channel tear down git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15457 71c3de6d-444a-0410-be80-ed276b4c234a --- core/src/test/java/hudson/FilePathTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/src/test/java/hudson/FilePathTest.java b/core/src/test/java/hudson/FilePathTest.java index 56eb082c82..6e41062cac 100644 --- a/core/src/test/java/hudson/FilePathTest.java +++ b/core/src/test/java/hudson/FilePathTest.java @@ -69,8 +69,7 @@ public class FilePathTest extends TestCase { @Override protected void tearDown() throws Exception { - french.close(); - british.close(); + french.close(); // this will automatically initiate the close on the other channel, too. french.join(); british.join(); executors.shutdown(); -- GitLab