You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by is...@apache.org on 2017/01/06 19:34:32 UTC

lucene-solr:jira/solr-5944: SOLR-5944 Fixing UpdateLogTest failure that resulted from the previous commit

Repository: lucene-solr
Updated Branches:
  refs/heads/jira/solr-5944 df8669b48 -> 2a9efd67a


SOLR-5944 Fixing UpdateLogTest failure that resulted from the previous commit


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/2a9efd67
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/2a9efd67
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/2a9efd67

Branch: refs/heads/jira/solr-5944
Commit: 2a9efd67af3ed20938297a6b2e6e88dde1699fad
Parents: df8669b
Author: Ishan Chattopadhyaya <is...@apache.org>
Authored: Sat Jan 7 01:04:15 2017 +0530
Committer: Ishan Chattopadhyaya <is...@apache.org>
Committed: Sat Jan 7 01:04:15 2017 +0530

----------------------------------------------------------------------
 solr/core/src/test/org/apache/solr/update/UpdateLogTest.java | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/2a9efd67/solr/core/src/test/org/apache/solr/update/UpdateLogTest.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/update/UpdateLogTest.java b/solr/core/src/test/org/apache/solr/update/UpdateLogTest.java
index 2c0fd3c..aa6e9d0 100644
--- a/solr/core/src/test/org/apache/solr/update/UpdateLogTest.java
+++ b/solr/core/src/test/org/apache/solr/update/UpdateLogTest.java
@@ -165,7 +165,10 @@ public class UpdateLogTest extends SolrTestCaseJ4 {
     
     // sanity check that the update log has one document, and RTG returns the document
     assertEquals(1, ulog.map.size());
-    assertJQ(req("qt","/get", "id","1"), "=={'doc':{\"id\":\"1\", \"val1_i_dvo\":3, \"_version_\":102, \"title_s\":\"title1\"}}");
+    assertJQ(req("qt","/get", "id","1"), "=={'doc':{ \"id\":\"1\", \"val1_i_dvo\":3, "
+        + "\"_version_\":102, \"title_s\":\"title1\", \"copyfield1_src__both_updateable\":0, \"inplace_updatable_float\":0.0,"
+        + " \"copyfield2_src__only_src_updatable\":0, \"inplace_updatable_int\":0, "
+        + "\"inplace_updatable_int_with_default\":666, \"inplace_updatable_float_with_default\":42.0}}");
     
     boolean dbq = random().nextBoolean();
     ulogDelete(ulog, "1", 200L, dbq); // delete id:1 document