avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject avro git commit: AVRO-2035: Update tests to require that default values are validated by default.
Date Wed, 28 Jun 2017 17:35:11 GMT
Repository: avro
Updated Branches:
  refs/heads/master e5ae42e57 -> d145b8b64


AVRO-2035: Update tests to require that default values are validated by default.


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

Branch: refs/heads/master
Commit: d145b8b6463a7b0d1821d7ebdd561524f9d80914
Parents: e5ae42e
Author: Doug Cutting <cutting@apache.org>
Authored: Wed Jun 28 10:33:15 2017 -0700
Committer: Doug Cutting <cutting@apache.org>
Committed: Wed Jun 28 10:33:15 2017 -0700

----------------------------------------------------------------------
 lang/java/ipc/src/test/java/org/apache/avro/TestSchema.java | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/avro/blob/d145b8b6/lang/java/ipc/src/test/java/org/apache/avro/TestSchema.java
----------------------------------------------------------------------
diff --git a/lang/java/ipc/src/test/java/org/apache/avro/TestSchema.java b/lang/java/ipc/src/test/java/org/apache/avro/TestSchema.java
index 468a21b..15bb095 100644
--- a/lang/java/ipc/src/test/java/org/apache/avro/TestSchema.java
+++ b/lang/java/ipc/src/test/java/org/apache/avro/TestSchema.java
@@ -857,7 +857,6 @@ public class TestSchema {
   private static void checkValidateDefaults(String schemaJson, String defaultJson) {
     try {
       Schema.Parser parser = new Schema.Parser();
-      parser.setValidateDefaults(true);
       String recordJson =
           "{\"type\":\"record\", \"name\":\"Foo\", \"fields\":[{\"name\":\"f\", "
               +"\"type\":"+schemaJson+", "


Mime
View raw message