Repository: helix
Updated Branches:
  refs/heads/master 1ad490ec7 -> 580f1facc


[HELIX-752] Add missing shutdown for RoutingTableProvider

Changelist:
1. Add a missing shutdown() call to avoid having a background thread keep 
printing out error messages


Project: http://git-wip-us.apache.org/repos/asf/helix/repo
Commit: http://git-wip-us.apache.org/repos/asf/helix/commit/580f1fac
Tree: http://git-wip-us.apache.org/repos/asf/helix/tree/580f1fac
Diff: http://git-wip-us.apache.org/repos/asf/helix/diff/580f1fac

Branch: refs/heads/master
Commit: 580f1facc349cfcaa8cab93de3409834dd592ac4
Parents: 1ad490e
Author: Hunter Lee <[email protected]>
Authored: Wed Sep 19 10:50:48 2018 -0700
Committer: Lei Xia <[email protected]>
Committed: Fri Sep 21 13:32:54 2018 -0700

----------------------------------------------------------------------
 .../helix/integration/spectator/TestRoutingTableProvider.java       | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/helix/blob/580f1fac/helix-core/src/test/java/org/apache/helix/integration/spectator/TestRoutingTableProvider.java
----------------------------------------------------------------------
diff --git 
a/helix-core/src/test/java/org/apache/helix/integration/spectator/TestRoutingTableProvider.java
 
b/helix-core/src/test/java/org/apache/helix/integration/spectator/TestRoutingTableProvider.java
index 01fa6df..c8bfd34 100644
--- 
a/helix-core/src/test/java/org/apache/helix/integration/spectator/TestRoutingTableProvider.java
+++ 
b/helix-core/src/test/java/org/apache/helix/integration/spectator/TestRoutingTableProvider.java
@@ -127,6 +127,7 @@ public class TestRoutingTableProvider extends ZkTestBase {
     _controller.syncStop();
     _routingTableProvider_default.shutdown();
     _routingTableProvider_ev.shutdown();
+    _routingTableProvider_cs.shutdown();
     _spectator.disconnect();
     deleteCluster(CLUSTER_NAME);
   }

Reply via email to