From: lubos-cicut Date: Wed, 10 Apr 2024 08:48:50 +0000 (+0200) Subject: Fix followerDistributedDataStore tear down X-Git-Tag: v9.0.3~63 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=0324432d000896c3f27c7be4e1863231bd50cadc Fix followerDistributedDataStore tear down Fix closing of followerDistributedDataStore in DistributedDataStoreRemotingIntegrationTest#tearDown. Change-Id: Iba35cae665f29a9da0430baff1f792191a4d1287 Signed-off-by: lubos-cicut --- diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DistributedDataStoreRemotingIntegrationTest.java b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DistributedDataStoreRemotingIntegrationTest.java index 738ff58382..91c00f7eb1 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DistributedDataStoreRemotingIntegrationTest.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DistributedDataStoreRemotingIntegrationTest.java @@ -199,7 +199,7 @@ public class DistributedDataStoreRemotingIntegrationTest extends AbstractTest { @After public void tearDown() { if (followerDistributedDataStore != null) { - leaderDistributedDataStore.close(); + followerDistributedDataStore.close(); } if (leaderDistributedDataStore != null) { leaderDistributedDataStore.close();