X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-remoterpc-connector%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fremote%2Frpc%2Fregistry%2Fgossip%2FGossiperTest.java;h=e61b54f067e7bcba09a0ef7d476f7cd3b04c938d;hp=d862dcb8cd5f96b5e81aea87a3da297b5164340e;hb=a3ebcb3c36804de1e4c0177f3462e33958b0c216;hpb=ee146664ac8ae45439c14a84fe769633c3ebf847 diff --git a/opendaylight/md-sal/sal-remoterpc-connector/src/test/java/org/opendaylight/controller/remote/rpc/registry/gossip/GossiperTest.java b/opendaylight/md-sal/sal-remoterpc-connector/src/test/java/org/opendaylight/controller/remote/rpc/registry/gossip/GossiperTest.java index d862dcb8cd..e61b54f067 100644 --- a/opendaylight/md-sal/sal-remoterpc-connector/src/test/java/org/opendaylight/controller/remote/rpc/registry/gossip/GossiperTest.java +++ b/opendaylight/md-sal/sal-remoterpc-connector/src/test/java/org/opendaylight/controller/remote/rpc/registry/gossip/GossiperTest.java @@ -45,7 +45,6 @@ public class GossiperTest { @BeforeClass public static void setup() throws InterruptedException { - Thread.sleep(1000);//give some time for previous test to stop the system. Netty port conflict arises otherwise. system = ActorSystem.create("opendaylight-rpc", ConfigFactory.load().getConfig("unit-test")); system.actorOf(Props.create(TerminationMonitor.class), "termination-monitor"); @@ -115,17 +114,6 @@ public class GossiperTest { verify(mockGossiper, times(0)).updateRemoteBuckets(anyMap()); } - @Test - public void testUpdateRemoteBuckets_WhenNoBucketShouldIgnore(){ - - mockGossiper.updateRemoteBuckets(null); - verify(mockGossiper, times(0)).getContext(); - - Map empty = Collections.emptyMap(); - mockGossiper.updateRemoteBuckets(empty); - verify(mockGossiper, times(0)).getContext(); - } - /** * Create Gossiper actor and return the underlying instance of Gossiper class. *