From: Tom Pantelis Date: Wed, 2 Jan 2019 14:34:55 +0000 (-0500) Subject: Fix CSIT failure in unsubscribeDtcl RPC X-Git-Tag: release/neon~26 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=803b19eb6e0d6c6c4f4e3844c28e4e501e2365b2;hp=baca0f4811fdef689cbefd5c776a2955f3e269ba Fix CSIT failure in unsubscribeDtcl RPC https://git.opendaylight.org/gerrit/#/c/78758/ modified the error message returned from unsubscribeDtcl if no DTCN's are received but the CSIT test is expecting specific text content to change it back. Change-Id: I1791175ac1a6c5b6b9936a820646b147adf4c497 Signed-off-by: Tom Pantelis --- diff --git a/opendaylight/md-sal/samples/clustering-test-app/provider/src/main/java/org/opendaylight/controller/clustering/it/provider/MdsalLowLevelTestProvider.java b/opendaylight/md-sal/samples/clustering-test-app/provider/src/main/java/org/opendaylight/controller/clustering/it/provider/MdsalLowLevelTestProvider.java index cbba269d1c..3b9f386b09 100644 --- a/opendaylight/md-sal/samples/clustering-test-app/provider/src/main/java/org/opendaylight/controller/clustering/it/provider/MdsalLowLevelTestProvider.java +++ b/opendaylight/md-sal/samples/clustering-test-app/provider/src/main/java/org/opendaylight/controller/clustering/it/provider/MdsalLowLevelTestProvider.java @@ -538,7 +538,7 @@ public class MdsalLowLevelTestProvider implements OdlMdsalLowlevelControlService if (!idIntsListener.hasTriggered()) { final RpcError error = RpcResultBuilder.newError(ErrorType.APPLICATION, "operation-failed", - "id-ints listener did not receive any notifications."); + "id-ints listener has not received any notifications."); return Futures.immediateFuture(RpcResultBuilder.failed() .withRpcError(error).build()); }