Fix CSIT failure in unsubscribeDtcl RPC 40/79140/2
authorTom Pantelis <tompantelis@gmail.com>
Wed, 2 Jan 2019 14:34:55 +0000 (09:34 -0500)
committerTom Pantelis <tompantelis@gmail.com>
Wed, 2 Jan 2019 15:34:25 +0000 (15:34 +0000)
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 <tompantelis@gmail.com>
opendaylight/md-sal/samples/clustering-test-app/provider/src/main/java/org/opendaylight/controller/clustering/it/provider/MdsalLowLevelTestProvider.java

index cbba269..3b9f386 100644 (file)
@@ -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.<UnsubscribeDtclOutput>failed()
                     .withRpcError(error).build());
         }

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.