Fix followerDistributedDataStore tear down 57/111357/1
authorlubos-cicut <lubos.cicut@pantheon.tech>
Wed, 10 Apr 2024 08:48:50 +0000 (10:48 +0200)
committerlubos-cicut <lubos.cicut@pantheon.tech>
Wed, 10 Apr 2024 08:48:50 +0000 (10:48 +0200)
Fix closing of followerDistributedDataStore in
DistributedDataStoreRemotingIntegrationTest#tearDown.

Change-Id: Iba35cae665f29a9da0430baff1f792191a4d1287
Signed-off-by: lubos-cicut <lubos.cicut@pantheon.tech>
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DistributedDataStoreRemotingIntegrationTest.java

index 738ff58382c78a4674128a41ada4ef173406c244..91c00f7eb153c04a6fc64f6782a7349dab80e2f3 100644 (file)
@@ -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();