From 0324432d000896c3f27c7be4e1863231bd50cadc Mon Sep 17 00:00:00 2001 From: lubos-cicut Date: Wed, 10 Apr 2024 10:48:50 +0200 Subject: [PATCH] Fix followerDistributedDataStore tear down Fix closing of followerDistributedDataStore in DistributedDataStoreRemotingIntegrationTest#tearDown. Change-Id: Iba35cae665f29a9da0430baff1f792191a4d1287 Signed-off-by: lubos-cicut --- .../datastore/DistributedDataStoreRemotingIntegrationTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.36.6