Merge "BUG 2854 : Do not add empty read write transactions to the replicable journal"
[controller.git] / opendaylight / md-sal / sal-remoterpc-connector / src / test / java / org / opendaylight / controller / remote / rpc / RemoteRpcProviderTest.java
1 /*
2  * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9
10 package org.opendaylight.controller.remote.rpc;
11
12
13 import akka.actor.ActorSystem;
14 import akka.testkit.JavaTestKit;
15 import com.typesafe.config.Config;
16 import org.junit.AfterClass;
17 import org.junit.BeforeClass;
18
19 public class RemoteRpcProviderTest {
20
21   static ActorSystem system;
22   static RemoteRpcProviderConfig moduleConfig;
23
24   @BeforeClass
25   public static void setup() throws InterruptedException {
26     moduleConfig = new RemoteRpcProviderConfig.Builder("odl-cluster-rpc").build();
27     final Config config = moduleConfig.get();
28     system = ActorSystem.create("odl-cluster-rpc", config);
29
30   }
31
32   @AfterClass
33   public static void teardown() {
34     JavaTestKit.shutdownActorSystem(system);
35     system = null;
36   }
37
38 }