From d1c462703266a610822f8a2cd239e614dd828727 Mon Sep 17 00:00:00 2001 From: fjy Date: Tue, 17 Jun 2014 10:18:46 -0700 Subject: [PATCH] fix bridge test --- .../io/druid/server/bridge/DruidClusterBridgeTest.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/server/src/test/java/io/druid/server/bridge/DruidClusterBridgeTest.java b/server/src/test/java/io/druid/server/bridge/DruidClusterBridgeTest.java index b7ab0e19714..d90b0cf3792 100644 --- a/server/src/test/java/io/druid/server/bridge/DruidClusterBridgeTest.java +++ b/server/src/test/java/io/druid/server/bridge/DruidClusterBridgeTest.java @@ -230,5 +230,13 @@ public class DruidClusterBridgeTest Assert.assertEquals(118, announced.getMaxSize()); EasyMock.verify(batchServerInventoryView); + + announcer.stop(); + bridge.stop(); + + remoteCf.close(); + remoteCluster.close(); + localCf.close(); + localCluster.close(); } }