diff options
author | Marc R. Hoffmann <hoffmann@mountainminds.com> | 2017-05-11 08:14:05 +0200 |
---|---|---|
committer | Evgeny Mandrikov <mandrikov@gmail.com> | 2017-05-12 18:52:42 +0200 |
commit | 60b82f23c20c3ce18dad74ea6c3d37233aae4fd7 (patch) | |
tree | c2aab830024935399eac3b463251acdb188dda21 | |
parent | 6ce97375651e7ebf2d10c27178176b2fa058ea53 (diff) | |
download | jacoco-60b82f23c20c3ce18dad74ea6c3d37233aae4fd7.tar.gz |
Remove obsolete test code
Starting from commit 54e674c0ab96b93668e6c0b036e7773e3ed7ff6d
the ExecutionDataReader does not read an exec file header any more
in the constructor. Therefore initialization of TcpConnection will not
block.
-rw-r--r-- | org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/TcpConnectionTest.java | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/TcpConnectionTest.java b/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/TcpConnectionTest.java index 3108a992..34b53881 100644 --- a/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/TcpConnectionTest.java +++ b/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/TcpConnectionTest.java @@ -101,26 +101,6 @@ public class TcpConnectionTest extends ExecutorTestBase { } /** - * Remote endpoint is closed before even a valid header was send. - */ - public void testRemoteCloseWithoutHeader() throws Throwable { - final TcpConnection con = new TcpConnection(mockConnection.getSocketA(), - data); - - final Future<Void> f = executor.submit(new Callable<Void>() { - public Void call() throws Exception { - con.init(); - return null; - } - }); - - assertBlocks(f); - - mockConnection.getSocketB().close(); - f.get(); - } - - /** * Local socket is closed while waiting for commands. * * @throws Exception |