diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2017-08-03 10:13:45 +0200 |
---|---|---|
committer | Jan Srnicek <jsrnicek@cisco.com> | 2017-08-07 07:00:35 +0000 |
commit | 1eac992e90839c99337a80db4ff6b880787a3056 (patch) | |
tree | 67a6e67b32fbe0edbd6de09ef7c26122eff75025 /lisp/lisp2vpp/src/test | |
parent | f9ca1e4f38ca3748c9c22c7985929a2c240ca3aa (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 'lisp/lisp2vpp/src/test')
2 files changed, 5 insertions, 2 deletions
diff --git a/lisp/lisp2vpp/src/test/java/io/fd/hc2vpp/lisp/translate/read/ItrRemoteLocatorSetCustomizerTest.java b/lisp/lisp2vpp/src/test/java/io/fd/hc2vpp/lisp/translate/read/ItrRemoteLocatorSetCustomizerTest.java index dad3323cb..8ee933299 100644 --- a/lisp/lisp2vpp/src/test/java/io/fd/hc2vpp/lisp/translate/read/ItrRemoteLocatorSetCustomizerTest.java +++ b/lisp/lisp2vpp/src/test/java/io/fd/hc2vpp/lisp/translate/read/ItrRemoteLocatorSetCustomizerTest.java @@ -146,7 +146,9 @@ public class ItrRemoteLocatorSetCustomizerTest @Override public OneGetMapRequestItrRlocsReply get(final long l, final TimeUnit timeUnit) throws InterruptedException, ExecutionException, TimeoutException { - throw new ExecutionException(new VppCallbackException("oneGetMapRequestItrRlocs", 1, -2)); + throw new ExecutionException( + new VppCallbackException("oneGetMapRequestItrRlocs", "oneGetMapRequestItrRlocs failed", + 1, -2)); } }); } diff --git a/lisp/lisp2vpp/src/test/java/io/fd/hc2vpp/lisp/translate/write/ItrRemoteLocatorSetCustomizerTest.java b/lisp/lisp2vpp/src/test/java/io/fd/hc2vpp/lisp/translate/write/ItrRemoteLocatorSetCustomizerTest.java index 7fc691b6e..7d53b4ab1 100644 --- a/lisp/lisp2vpp/src/test/java/io/fd/hc2vpp/lisp/translate/write/ItrRemoteLocatorSetCustomizerTest.java +++ b/lisp/lisp2vpp/src/test/java/io/fd/hc2vpp/lisp/translate/write/ItrRemoteLocatorSetCustomizerTest.java @@ -129,7 +129,8 @@ public class ItrRemoteLocatorSetCustomizerTest extends LispWriterCustomizerTest @Override public OneAddDelMapRequestItrRlocsReply get(final long l, final TimeUnit timeUnit) throws InterruptedException, ExecutionException, TimeoutException { - throw new ExecutionException(new VppCallbackException("oneAddDelMapRequestItrRlocs", 1, -2)); + throw new ExecutionException(new VppCallbackException("oneAddDelMapRequestItrRlocs", + "oneAddDelMapRequestItrRlocs failed", 1, -2)); } }); } |