Fix CSIT failure in unsubscribeDtcl RPC
[controller.git] / opendaylight / md-sal / samples / clustering-test-app / provider / src / main / java / org / opendaylight / controller / clustering / it / provider / MdsalLowLevelTestProvider.java
index df314c127144b77eb4aa3dc742f736b4d0197d1c..3b9f386b09f7fb59c89269ca02bbaf31741c18a7 100644 (file)
@@ -537,8 +537,8 @@ public class MdsalLowLevelTestProvider implements OdlMdsalLowlevelControlService
         dtclReg = null;
 
         if (!idIntsListener.hasTriggered()) {
-            final RpcError error = RpcResultBuilder.newError(ErrorType.APPLICATION, "data-missing",
-                    "id-ints listener did not receive any notifications.");
+            final RpcError error = RpcResultBuilder.newError(ErrorType.APPLICATION, "operation-failed",
+                    "id-ints listener has not received any notifications.");
             return Futures.immediateFuture(RpcResultBuilder.<UnsubscribeDtclOutput>failed()
                     .withRpcError(error).build());
         }