summaryrefslogtreecommitdiffstats
path: root/messagebus/src/test/java/com/yahoo
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2020-11-09 12:30:07 +0100
committerJon Bratseth <bratseth@gmail.com>2020-11-09 12:30:07 +0100
commit1e64abf63069fa22c1bebe4c55d570161c4cbc85 (patch)
tree1560c21ee5d65445993e207aeae8d6f6c5052287 /messagebus/src/test/java/com/yahoo
parent4b4bf97486eb4d5c23686ad201c1e8471deb4d72 (diff)
Don't setup network in tests that don't need it
Diffstat (limited to 'messagebus/src/test/java/com/yahoo')
-rw-r--r--messagebus/src/test/java/com/yahoo/messagebus/routing/RoutingTestCase.java14
1 files changed, 1 insertions, 13 deletions
diff --git a/messagebus/src/test/java/com/yahoo/messagebus/routing/RoutingTestCase.java b/messagebus/src/test/java/com/yahoo/messagebus/routing/RoutingTestCase.java
index 2ebe4103713..29d88afcce2 100644
--- a/messagebus/src/test/java/com/yahoo/messagebus/routing/RoutingTestCase.java
+++ b/messagebus/src/test/java/com/yahoo/messagebus/routing/RoutingTestCase.java
@@ -39,17 +39,11 @@ import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
/**
- * @author <a href="mailto:havardpe@yahoo-inc.com">Haavard Pettersen</a>
+ * @author havardpe
* @author Simon Thoresen Hult
*/
public class RoutingTestCase {
- ////////////////////////////////////////////////////////////////////////////////
- //
- // Setup
- //
- ////////////////////////////////////////////////////////////////////////////////
-
Slobrok slobrok;
TestServer srcServer, dstServer;
SourceSession srcSession;
@@ -82,12 +76,6 @@ public class RoutingTestCase {
srcServer.destroy();
}
- ////////////////////////////////////////////////////////////////////////////////
- //
- // Tests
- //
- ////////////////////////////////////////////////////////////////////////////////
-
@Test
public void requireThatNullRouteIsCaught() {
assertTrue(srcSession.send(createMessage("msg")).isAccepted());