X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fcds-access-client%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Faccess%2Fclient%2FClientActorContextTest.java;h=4dcbccbfb859d030b8313c3480c614a7302c4d4d;hp=3ecc68bdb45b3f30314573893a4a622c3fc2561b;hb=e9fc7e7ed2b13d274518d6a872ab67749ef4507a;hpb=b2ed560507ad550be22a84ebd60ad4edc14cea7d diff --git a/opendaylight/md-sal/cds-access-client/src/test/java/org/opendaylight/controller/cluster/access/client/ClientActorContextTest.java b/opendaylight/md-sal/cds-access-client/src/test/java/org/opendaylight/controller/cluster/access/client/ClientActorContextTest.java index 3ecc68bdb4..4dcbccbfb8 100644 --- a/opendaylight/md-sal/cds-access-client/src/test/java/org/opendaylight/controller/cluster/access/client/ClientActorContextTest.java +++ b/opendaylight/md-sal/cds-access-client/src/test/java/org/opendaylight/controller/cluster/access/client/ClientActorContextTest.java @@ -10,8 +10,8 @@ package org.opendaylight.controller.cluster.access.client; import static org.junit.Assert.assertSame; import akka.actor.ActorSystem; -import akka.testkit.JavaTestKit; import akka.testkit.TestProbe; +import akka.testkit.javadsl.TestKit; import com.google.common.base.Ticker; import java.util.concurrent.TimeUnit; import org.junit.After; @@ -45,8 +45,8 @@ public class ClientActorContextTest { MockitoAnnotations.initMocks(this); system = ActorSystem.apply(); probe = new TestProbe(system); - ctx = new ClientActorContext(probe.ref(), system.scheduler(), system.dispatcher(), - PERSISTENCE_ID, CLIENT_ID); + ctx = new ClientActorContext(probe.ref(), PERSISTENCE_ID, system, + CLIENT_ID, AccessClientUtil.newMockClientActorConfig()); } @Test @@ -76,6 +76,6 @@ public class ClientActorContextTest { @After public void tearDown() throws Exception { - JavaTestKit.shutdownActorSystem(system); + TestKit.shutdownActorSystem(system); } }