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();