You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sa...@apache.org on 2017/04/25 21:08:28 UTC
lucene-solr:master: SOLR-10310: Fix CopyFieldTest failure
Repository: lucene-solr
Updated Branches:
refs/heads/master dd171ff8f -> 03b484346
SOLR-10310: Fix CopyFieldTest failure
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/03b48434
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/03b48434
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/03b48434
Branch: refs/heads/master
Commit: 03b484346e65c999b97dff7d316241e2d3cf56d1
Parents: dd171ff
Author: Steve Rowe <sa...@apache.org>
Authored: Tue Apr 25 17:07:42 2017 -0400
Committer: Steve Rowe <sa...@apache.org>
Committed: Tue Apr 25 17:07:42 2017 -0400
----------------------------------------------------------------------
solr/core/src/test/org/apache/solr/schema/CopyFieldTest.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/03b48434/solr/core/src/test/org/apache/solr/schema/CopyFieldTest.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/schema/CopyFieldTest.java b/solr/core/src/test/org/apache/solr/schema/CopyFieldTest.java
index 93cbb0a..d95f144 100644
--- a/solr/core/src/test/org/apache/solr/schema/CopyFieldTest.java
+++ b/solr/core/src/test/org/apache/solr/schema/CopyFieldTest.java
@@ -124,7 +124,7 @@ public class CopyFieldTest extends SolrTestCaseJ4 {
public void testCopyFieldFunctionality()
{
SolrCore core = h.getCore();
- assertU(adoc("id", "10", "title", "test copy field", "text_en", "this is a simple test of the copy field functionality"));
+ assertU(adoc("id", "5", "title", "test copy field", "text_en", "this is a simple test of the copy field functionality"));
assertU(commit());
Map<String,String> args = new HashMap<>();
@@ -134,7 +134,7 @@ public class CopyFieldTest extends SolrTestCaseJ4 {
assertQ("Make sure they got in", req
,"//*[@numFound='1']"
- ,"//result/doc[1]/int[@name='id'][.='10']"
+ ,"//result/doc[1]/int[@name='id'][.='5']"
);
args = new HashMap<>();
@@ -143,7 +143,7 @@ public class CopyFieldTest extends SolrTestCaseJ4 {
req = new LocalSolrQueryRequest( core, new MapSolrParams( args) );
assertQ("dynamic source", req
,"//*[@numFound='1']"
- ,"//result/doc[1]/int[@name='id'][.='10']"
+ ,"//result/doc[1]/int[@name='id'][.='5']"
,"//result/doc[1]/arr[@name='highlight']/str[.='this is a simple test of ']"
);