You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@htrace.apache.org by cm...@apache.org on 2015/04/23 00:29:01 UTC

incubator-htrace git commit: HTRACE-152. Fix TestHTracedRESTReceiver com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException (cmccabe)

Repository: incubator-htrace
Updated Branches:
  refs/heads/master 5210d97d2 -> af0bf3f4f


HTRACE-152. Fix TestHTracedRESTReceiver com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException (cmccabe)


Project: http://git-wip-us.apache.org/repos/asf/incubator-htrace/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-htrace/commit/af0bf3f4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-htrace/tree/af0bf3f4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-htrace/diff/af0bf3f4

Branch: refs/heads/master
Commit: af0bf3f4f0b6a150888a63a49b4c65ceb2f9d4a8
Parents: 5210d97
Author: Colin P. Mccabe <cm...@apache.org>
Authored: Wed Apr 22 15:27:01 2015 -0700
Committer: Colin P. Mccabe <cm...@apache.org>
Committed: Wed Apr 22 15:28:54 2015 -0700

----------------------------------------------------------------------
 .../src/test/java/org/apache/htrace/util/HTracedProcess.java       | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-htrace/blob/af0bf3f4/htrace-htraced/src/test/java/org/apache/htrace/util/HTracedProcess.java
----------------------------------------------------------------------
diff --git a/htrace-htraced/src/test/java/org/apache/htrace/util/HTracedProcess.java b/htrace-htraced/src/test/java/org/apache/htrace/util/HTracedProcess.java
index e319925..9623a8f 100644
--- a/htrace-htraced/src/test/java/org/apache/htrace/util/HTracedProcess.java
+++ b/htrace-htraced/src/test/java/org/apache/htrace/util/HTracedProcess.java
@@ -16,6 +16,7 @@
  */
 package org.apache.htrace.util;
 
+import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
 import com.fasterxml.jackson.annotation.JsonProperty;
 import com.fasterxml.jackson.databind.ObjectMapper;
 
@@ -46,6 +47,7 @@ public class HTracedProcess extends Process {
   /**
    * Data send back from the HTraced process on the notification port.
    */
+  @JsonIgnoreProperties(ignoreUnknown = true)
   public static class StartupNotificationData {
     /**
      * The hostname:port pair which the HTraced process uses for HTTP requests.