From 1e64abf63069fa22c1bebe4c55d570161c4cbc85 Mon Sep 17 00:00:00 2001 From: Jon Bratseth Date: Mon, 9 Nov 2020 12:30:07 +0100 Subject: Don't setup network in tests that don't need it --- .../java/com/yahoo/messagebus/routing/RoutingTestCase.java | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'messagebus/src/test/java/com/yahoo') 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 Haavard Pettersen + * @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()); -- cgit v1.2.3