Bug 8619: Introduce inheritance of progress trackers
[controller.git] / opendaylight / md-sal / cds-access-client / src / test / java / org / opendaylight / controller / cluster / access / client / ConnectedClientConnectionTest.java
index 0f308062392fd53b1ff1cd257c0b17e39d0254d5..e6a09c17571a901c303cdde786d203f1678109ff 100644 (file)
@@ -35,7 +35,8 @@ public class ConnectedClientConnectionTest
     @Override
     protected ConnectedClientConnection<BackendInfo> createConnection() {
         final BackendInfo backend = new BackendInfo(backendProbe.ref(), 0L, ABIVersion.BORON, 10);
-        return new ConnectedClientConnection<>(context, 0L, backend);
+        final ConnectingClientConnection<BackendInfo> connectingConn = new ConnectingClientConnection<>(context, 0L);
+        return  new ConnectedClientConnection<>(connectingConn, backend);
     }
 
     @Override