BUG-5280: handle NotLeaderException
[controller.git] / opendaylight / md-sal / cds-access-client / src / test / java / org / opendaylight / controller / cluster / access / client / ReconnectingClientConnectionTest.java
index b2ff72368c3f5e37b707a438b36d24e85079f489..142e94882059c0954f8734348c84803a1f585047 100644 (file)
@@ -41,7 +41,7 @@ public class ReconnectingClientConnectionTest
     @Test
     public void testReconnectConnection() throws Exception {
         final ClientActorBehavior<BackendInfo> behavior = mock(ClientActorBehavior.class);
-        Assert.assertSame(behavior, connection.reconnectConnection(behavior));
+        Assert.assertSame(behavior, connection.lockedReconnect(behavior));
     }
 
     @Override