import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
+import org.junit.Ignore;
import org.junit.Test;
import org.mockito.Mockito;
import org.opendaylight.controller.cluster.ActorSystemProvider;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
+@Ignore("https://bugs.opendaylight.org/show_bug.cgi?id=8301")
public class DistributedShardedDOMDataTreeRemotingTest extends AbstractTest {
private static final Logger LOG = LoggerFactory.getLogger(DistributedShardedDOMDataTreeRemotingTest.class);
followerOperDatastore.close();
}
- JavaTestKit.shutdownActorSystem(leaderSystem);
- JavaTestKit.shutdownActorSystem(followerSystem);
+ JavaTestKit.shutdownActorSystem(leaderSystem, null, Boolean.TRUE);
+ JavaTestKit.shutdownActorSystem(followerSystem, null, Boolean.TRUE);
InMemoryJournal.clear();
InMemorySnapshotStore.clear();
}
- private void initEmptyDatastores() {
+ private void initEmptyDatastores() throws Exception {
leaderTestKit = new IntegrationTestKit(leaderSystem, leaderDatastoreContextBuilder);
- leaderConfigDatastore = (DistributedDataStore) leaderTestKit.setupDistributedDataStore(
+ leaderConfigDatastore = leaderTestKit.setupDistributedDataStore(
"config", MODULE_SHARDS_CONFIG, true,
SchemaContextHelper.distributedShardedDOMDataTreeSchemaContext());
- leaderOperDatastore = (DistributedDataStore) leaderTestKit.setupDistributedDataStore(
+ leaderOperDatastore = leaderTestKit.setupDistributedDataStore(
"operational", MODULE_SHARDS_CONFIG, true,
SchemaContextHelper.distributedShardedDOMDataTreeSchemaContext());
followerTestKit = new IntegrationTestKit(followerSystem, followerDatastoreContextBuilder);
- followerConfigDatastore = (DistributedDataStore) followerTestKit.setupDistributedDataStore(
+ followerConfigDatastore = followerTestKit.setupDistributedDataStore(
"config", MODULE_SHARDS_CONFIG, true, SchemaContextHelper.distributedShardedDOMDataTreeSchemaContext());
- followerOperDatastore = (DistributedDataStore) followerTestKit.setupDistributedDataStore(
+ followerOperDatastore = followerTestKit.setupDistributedDataStore(
"operational", MODULE_SHARDS_CONFIG, true,
SchemaContextHelper.distributedShardedDOMDataTreeSchemaContext());