avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tomwh...@apache.org
Subject svn commit: r1689621 - in /avro/trunk: CHANGES.txt lang/java/avro/src/test/java/org/apache/avro/TestSchemaCompatibility.java
Date Tue, 07 Jul 2015 10:10:35 GMT
Author: tomwhite
Date: Tue Jul  7 10:10:34 2015
New Revision: 1689621

URL: http://svn.apache.org/r1689621
Log:
AVRO-1576. TestSchemaCompatibility is platform dependant. Contributed by Stevo Slavic.

Modified:
    avro/trunk/CHANGES.txt
    avro/trunk/lang/java/avro/src/test/java/org/apache/avro/TestSchemaCompatibility.java

Modified: avro/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/avro/trunk/CHANGES.txt?rev=1689621&r1=1689620&r2=1689621&view=diff
==============================================================================
--- avro/trunk/CHANGES.txt (original)
+++ avro/trunk/CHANGES.txt Tue Jul  7 10:10:34 2015
@@ -150,6 +150,9 @@ Trunk (not yet released)
 
     AVRO-1689. Update Dockerfile to use official Java repository. (tomwhite)
 
+    AVRO-1576. TestSchemaCompatibility is platform dependant.
+    (Stevo Slavic via tomwhite)
+
 Avro 1.7.7 (23 July 2014)
 
   NEW FEATURES

Modified: avro/trunk/lang/java/avro/src/test/java/org/apache/avro/TestSchemaCompatibility.java
URL: http://svn.apache.org/viewvc/avro/trunk/lang/java/avro/src/test/java/org/apache/avro/TestSchemaCompatibility.java?rev=1689621&r1=1689620&r2=1689621&view=diff
==============================================================================
--- avro/trunk/lang/java/avro/src/test/java/org/apache/avro/TestSchemaCompatibility.java (original)
+++ avro/trunk/lang/java/avro/src/test/java/org/apache/avro/TestSchemaCompatibility.java Tue
Jul  7 10:10:34 2015
@@ -245,8 +245,8 @@ public class TestSchemaCompatibility {
             reader,
             WRITER_SCHEMA,
             String.format(
-                "Data encoded using writer schema:\n%s\n"
-                + "will or may fail to decode using reader schema:\n%s\n",
+                "Data encoded using writer schema:%n%s%n"
+                + "will or may fail to decode using reader schema:%n%s%n",
                 WRITER_SCHEMA.toString(true),
                 reader.toString(true)));
 
@@ -270,8 +270,8 @@ public class TestSchemaCompatibility {
             invalidReader,
             STRING_ARRAY_SCHEMA,
             String.format(
-                "Data encoded using writer schema:\n%s\n"
-                + "will or may fail to decode using reader schema:\n%s\n",
+                "Data encoded using writer schema:%n%s%n"
+                + "will or may fail to decode using reader schema:%n%s%n",
                 STRING_ARRAY_SCHEMA.toString(true),
                 invalidReader.toString(true)));
 
@@ -298,8 +298,8 @@ public class TestSchemaCompatibility {
             INT_SCHEMA,
             STRING_SCHEMA,
             String.format(
-                "Data encoded using writer schema:\n%s\n"
-                + "will or may fail to decode using reader schema:\n%s\n",
+                "Data encoded using writer schema:%n%s%n"
+                + "will or may fail to decode using reader schema:%n%s%n",
                 STRING_SCHEMA.toString(true),
                 INT_SCHEMA.toString(true)));
 



Mime
View raw message