incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [19/47] git commit: One test was failing because the test data changed.
Date Mon, 03 Sep 2012 00:32:19 GMT
One test was failing because the test data changed.


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

Branch: refs/heads/master
Commit: d4a43538134f34bf6d87515826078d22539ab527
Parents: 5244512
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Sun Aug 26 11:01:28 2012 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Sun Aug 26 11:01:28 2012 -0400

----------------------------------------------------------------------
 .../blur/manager/IndexManagerTest.java             |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d4a43538/src/blur-core/src/test/java/com/nearinfinity/blur/manager/IndexManagerTest.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/test/java/com/nearinfinity/blur/manager/IndexManagerTest.java
b/src/blur-core/src/test/java/com/nearinfinity/blur/manager/IndexManagerTest.java
index 2ac502d..e344ce8 100644
--- a/src/blur-core/src/test/java/com/nearinfinity/blur/manager/IndexManagerTest.java
+++ b/src/blur-core/src/test/java/com/nearinfinity/blur/manager/IndexManagerTest.java
@@ -141,8 +141,6 @@ public class IndexManagerTest {
     BlurQuery blurQuery = new BlurQuery();
     blurQuery.simpleQuery = new SimpleQuery();
     blurQuery.simpleQuery.queryStr = "+(+test-family.testcol1:value1 nojoin) +(+test-family.testcol3:value234123)";
-//    blurQuery.simpleQuery.queryStr = "+(+test-family.testcol1:value1 nojoin)";
-//    blurQuery.simpleQuery.queryStr = "+(+test-family.testcol3:value234123)";
     blurQuery.simpleQuery.superQueryOn = true;
     blurQuery.simpleQuery.type = ScoreType.SUPER;
     blurQuery.fetch = 10;
@@ -544,14 +542,14 @@ public class IndexManagerTest {
 
   @Test
   public void testMutationUpdateRowDeleteLastRecord() throws Exception {
-    RecordMutation rm = newRecordMutation(DELETE_ENTIRE_RECORD, FAMILY, "record-2");
+    RecordMutation rm = newRecordMutation(DELETE_ENTIRE_RECORD, FAMILY, "record-3");
 
-    RowMutation rowMutation = newRowMutation(UPDATE_ROW, TABLE, "row-2", rm);
+    RowMutation rowMutation = newRowMutation(UPDATE_ROW, TABLE, "row-3", rm);
 
     rowMutation.waitToBeVisible = true;
     indexManager.mutate(rowMutation);
 
-    Selector selector = new Selector().setRowId("row-2");
+    Selector selector = new Selector().setRowId("row-3");
     FetchResult fetchResult = new FetchResult();
     indexManager.fetchRow(TABLE, selector, fetchResult);
     assertNull("row should not exist", fetchResult.rowResult);


Mime
View raw message