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 cbba269d1c0b193a0900bec5481235d695e5f360..3b9f386b09f7fb59c89269ca02bbaf31741c18a7 100644 (file)
@@ -538,7 +538,7 @@ public class MdsalLowLevelTestProvider implements OdlMdsalLowlevelControlService
 
         if (!idIntsListener.hasTriggered()) {
             final RpcError error = RpcResultBuilder.newError(ErrorType.APPLICATION, "operation-failed",
 
         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());
         }
             return Futures.immediateFuture(RpcResultBuilder.<UnsubscribeDtclOutput>failed()
                     .withRpcError(error).build());
         }