From ad10d923b17ba4cfb3a2c6e3cc3651ba675e6487 Mon Sep 17 00:00:00 2001 From: Tom Pantelis Date: Mon, 17 Dec 2018 09:09:07 -0500 Subject: [PATCH] Fix CSIT failure in MdsalLowLevelTestProvider https://git.opendaylight.org/gerrit/#/c/78758/ modified unsubscribeDtcl to return the "data-missing" error tag if the DTCL received no notifications which is translated by restconf to 404 but the CSIT test is expected 500 so return "operation-failed". Change-Id: I22df1012e9f191171699fb4ddee8353b22b24c14 Signed-off-by: Tom Pantelis --- .../clustering/it/provider/MdsalLowLevelTestProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 df314c1271..cbba269d1c 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 @@ -537,7 +537,7 @@ public class MdsalLowLevelTestProvider implements OdlMdsalLowlevelControlService dtclReg = null; if (!idIntsListener.hasTriggered()) { - final RpcError error = RpcResultBuilder.newError(ErrorType.APPLICATION, "data-missing", + final RpcError error = RpcResultBuilder.newError(ErrorType.APPLICATION, "operation-failed", "id-ints listener did not receive any notifications."); return Futures.immediateFuture(RpcResultBuilder.failed() .withRpcError(error).build()); -- 2.36.6