avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r1562292 - /avro/trunk/lang/java/avro/src/test/java/org/apache/avro/TestDataFileConcat.java
Date Tue, 28 Jan 2014 22:37:38 GMT
Author: cutting
Date: Tue Jan 28 22:37:38 2014
New Revision: 1562292

URL: http://svn.apache.org/r1562292
Log:
tweak test to reduce runtime from 2 minutes to 10 seconds

Modified:
    avro/trunk/lang/java/avro/src/test/java/org/apache/avro/TestDataFileConcat.java

Modified: avro/trunk/lang/java/avro/src/test/java/org/apache/avro/TestDataFileConcat.java
URL: http://svn.apache.org/viewvc/avro/trunk/lang/java/avro/src/test/java/org/apache/avro/TestDataFileConcat.java?rev=1562292&r1=1562291&r2=1562292&view=diff
==============================================================================
--- avro/trunk/lang/java/avro/src/test/java/org/apache/avro/TestDataFileConcat.java (original)
+++ avro/trunk/lang/java/avro/src/test/java/org/apache/avro/TestDataFileConcat.java Tue Jan
28 22:37:38 2014
@@ -100,7 +100,7 @@ public class TestDataFileConcat {
   public void testConcatenateFiles() throws IOException {
     System.out.println("SEED = "+SEED);
     System.out.println("COUNT = "+COUNT);
-    for (int k = 0; k < 60; k++) {
+    for (int k = 0; k < 5; k++) {
       int syncInterval = 460 +k;
       RandomData data1 = new RandomData(SCHEMA, COUNT, SEED);
       RandomData data2 = new RandomData(SCHEMA, COUNT, SEED+1);



Mime
View raw message