accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vi...@apache.org
Subject svn commit: r1229221 - in /incubator/accumulo/branches/1.4/src/wikisearch: ingest/src/test/java/org/apache/accumulo/wikisearch/aggregator/ ingest/src/test/java/org/apache/accumulo/wikisearch/ingest/ query/src/test/java/org/apache/accumulo/wikisearch/lo...
Date Mon, 09 Jan 2012 15:47:13 GMT
Author: vines
Date: Mon Jan  9 15:47:13 2012
New Revision: 1229221

URL: http://svn.apache.org/viewvc?rev=1229221&view=rev
Log:
ACCUMULO-292 - squelched

Modified:
    incubator/accumulo/branches/1.4/src/wikisearch/ingest/src/test/java/org/apache/accumulo/wikisearch/aggregator/GlobalIndexUidAggregatorTest.java
    incubator/accumulo/branches/1.4/src/wikisearch/ingest/src/test/java/org/apache/accumulo/wikisearch/ingest/WikipediaMapperTest.java
    incubator/accumulo/branches/1.4/src/wikisearch/query/src/test/java/org/apache/accumulo/wikisearch/logic/TestQueryLogic.java

Modified: incubator/accumulo/branches/1.4/src/wikisearch/ingest/src/test/java/org/apache/accumulo/wikisearch/aggregator/GlobalIndexUidAggregatorTest.java
URL: http://svn.apache.org/viewvc/incubator/accumulo/branches/1.4/src/wikisearch/ingest/src/test/java/org/apache/accumulo/wikisearch/aggregator/GlobalIndexUidAggregatorTest.java?rev=1229221&r1=1229220&r2=1229221&view=diff
==============================================================================
--- incubator/accumulo/branches/1.4/src/wikisearch/ingest/src/test/java/org/apache/accumulo/wikisearch/aggregator/GlobalIndexUidAggregatorTest.java
(original)
+++ incubator/accumulo/branches/1.4/src/wikisearch/ingest/src/test/java/org/apache/accumulo/wikisearch/aggregator/GlobalIndexUidAggregatorTest.java
Mon Jan  9 15:47:13 2012
@@ -24,9 +24,10 @@ import junit.framework.TestCase;
 
 import org.apache.accumulo.core.data.Value;
 import org.apache.accumulo.core.iterators.aggregation.Aggregator;
-import org.apache.accumulo.wikisearch.aggregator.GlobalIndexUidAggregator;
 import org.apache.accumulo.wikisearch.protobuf.Uid;
 import org.apache.accumulo.wikisearch.protobuf.Uid.List.Builder;
+import org.apache.log4j.Level;
+import org.apache.log4j.Logger;
 
 
 @SuppressWarnings("deprecation")
@@ -141,6 +142,7 @@ public class GlobalIndexUidAggregatorTes
   }
   
   public void testInvalidValueType() throws Exception {
+    Logger.getLogger(GlobalIndexUidAggregator.class).setLevel(Level.OFF);
     agg.reset();
     Value val = new Value(UUID.randomUUID().toString().getBytes());
     agg.collect(val);

Modified: incubator/accumulo/branches/1.4/src/wikisearch/ingest/src/test/java/org/apache/accumulo/wikisearch/ingest/WikipediaMapperTest.java
URL: http://svn.apache.org/viewvc/incubator/accumulo/branches/1.4/src/wikisearch/ingest/src/test/java/org/apache/accumulo/wikisearch/ingest/WikipediaMapperTest.java?rev=1229221&r1=1229220&r2=1229221&view=diff
==============================================================================
--- incubator/accumulo/branches/1.4/src/wikisearch/ingest/src/test/java/org/apache/accumulo/wikisearch/ingest/WikipediaMapperTest.java
(original)
+++ incubator/accumulo/branches/1.4/src/wikisearch/ingest/src/test/java/org/apache/accumulo/wikisearch/ingest/WikipediaMapperTest.java
Mon Jan  9 15:47:13 2012
@@ -24,6 +24,17 @@ import java.util.Map.Entry;
 
 import junit.framework.Assert;
 
+import org.apache.accumulo.core.client.BatchWriter;
+import org.apache.accumulo.core.client.Connector;
+import org.apache.accumulo.core.client.MutationsRejectedException;
+import org.apache.accumulo.core.client.Scanner;
+import org.apache.accumulo.core.client.mock.MockInstance;
+import org.apache.accumulo.core.data.Key;
+import org.apache.accumulo.core.data.Mutation;
+import org.apache.accumulo.core.data.Range;
+import org.apache.accumulo.core.data.Value;
+import org.apache.accumulo.core.security.Authorizations;
+import org.apache.accumulo.wikisearch.reader.AggregatingRecordReader;
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.fs.Path;
 import org.apache.hadoop.fs.RawLocalFileSystem;
@@ -38,21 +49,6 @@ import org.apache.hadoop.mapreduce.TaskA
 import org.apache.hadoop.mapreduce.lib.input.FileSplit;
 import org.apache.hadoop.mapreduce.lib.output.FileOutputCommitter;
 import org.junit.Before;
-import org.junit.Test;
-
-import org.apache.accumulo.core.client.BatchWriter;
-import org.apache.accumulo.core.client.Connector;
-import org.apache.accumulo.core.client.MutationsRejectedException;
-import org.apache.accumulo.core.client.Scanner;
-import org.apache.accumulo.core.client.mock.MockInstance;
-import org.apache.accumulo.core.data.Key;
-import org.apache.accumulo.core.data.Mutation;
-import org.apache.accumulo.core.data.Range;
-import org.apache.accumulo.core.data.Value;
-import org.apache.accumulo.core.security.Authorizations;
-import org.apache.accumulo.wikisearch.ingest.WikipediaConfiguration;
-import org.apache.accumulo.wikisearch.ingest.WikipediaMapper;
-import org.apache.accumulo.wikisearch.reader.AggregatingRecordReader;
 
 /**
  * Load some data into mock accumulo
@@ -158,7 +154,6 @@ public class WikipediaMapperTest {
       System.out.println(entry.getKey().toString() + " " + entry.getValue().toString());
   }
   
-  @Test
   public void testViewAllData() throws Exception {
     debugQuery(METADATA_TABLE_NAME);
     debugQuery(TABLE_NAME);

Modified: incubator/accumulo/branches/1.4/src/wikisearch/query/src/test/java/org/apache/accumulo/wikisearch/logic/TestQueryLogic.java
URL: http://svn.apache.org/viewvc/incubator/accumulo/branches/1.4/src/wikisearch/query/src/test/java/org/apache/accumulo/wikisearch/logic/TestQueryLogic.java?rev=1229221&r1=1229220&r2=1229221&view=diff
==============================================================================
--- incubator/accumulo/branches/1.4/src/wikisearch/query/src/test/java/org/apache/accumulo/wikisearch/logic/TestQueryLogic.java
(original)
+++ incubator/accumulo/branches/1.4/src/wikisearch/query/src/test/java/org/apache/accumulo/wikisearch/logic/TestQueryLogic.java
Mon Jan  9 15:47:13 2012
@@ -177,6 +177,8 @@ public class TestQueryLogic {
   
   @Test
   public void testTitle() {
+    Logger.getLogger(AbstractQueryLogic.class).setLevel(Level.OFF);
+    Logger.getLogger(RangeCalculator.class).setLevel(Level.OFF);
     List<String> auths = new ArrayList<String>();
     auths.add("enwiki");
     Results results = table.runQuery(c, auths, "TITLE == 'afghanistanhistory'", null, null,
null);



Mime
View raw message