summaryrefslogtreecommitdiffstats
path: root/vpp-common/vpp-translate-test
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2017-08-03 10:13:45 +0200
committerJan Srnicek <jsrnicek@cisco.com>2017-08-07 07:00:35 +0000
commit1eac992e90839c99337a80db4ff6b880787a3056 (patch)
tree67a6e67b32fbe0edbd6de09ef7c26122eff75025 /vpp-common/vpp-translate-test
parentf9ca1e4f38ca3748c9c22c7985929a2c240ca3aa (diff)
Adapt hc2vpp to jvpp error logging improvements
Requires https://gerrit.fd.io/r/#/c/7681/ Change-Id: Icd1d5dfb60f5eb79f9f4ab46f38d56f2b01672da Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'vpp-common/vpp-translate-test')
-rw-r--r--vpp-common/vpp-translate-test/src/main/java/io/fd/hc2vpp/common/test/util/FutureProducer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/vpp-common/vpp-translate-test/src/main/java/io/fd/hc2vpp/common/test/util/FutureProducer.java b/vpp-common/vpp-translate-test/src/main/java/io/fd/hc2vpp/common/test/util/FutureProducer.java
index 2bedb9507..bdce21f77 100644
--- a/vpp-common/vpp-translate-test/src/main/java/io/fd/hc2vpp/common/test/util/FutureProducer.java
+++ b/vpp-common/vpp-translate-test/src/main/java/io/fd/hc2vpp/common/test/util/FutureProducer.java
@@ -58,6 +58,6 @@ public interface FutureProducer {
* @param <T> the result type of returned future
*/
default <T> CompletableFuture<T> failedFuture() {
- return failedFuture(new VppCallbackException("test-call", 1 /* ctxId */, -1 /* retval */));
+ return failedFuture(new VppCallbackException("test-call", "test error msg", 1 /* ctxId */, -1 /* retval */));
}
}