You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by no...@apache.org on 2017/06/16 15:25:18 UTC
lucene-solr:master: SOLR-9565: missed updating the testcase
Repository: lucene-solr
Updated Branches:
refs/heads/master 68d29c9b4 -> e2d8f941e
SOLR-9565: missed updating the testcase
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/e2d8f941
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/e2d8f941
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/e2d8f941
Branch: refs/heads/master
Commit: e2d8f941e174a8d0e8db1fa3d580342e17bca734
Parents: 68d29c9
Author: Noble Paul <no...@apache.org>
Authored: Sat Jun 17 00:55:10 2017 +0930
Committer: Noble Paul <no...@apache.org>
Committed: Sat Jun 17 00:55:10 2017 +0930
----------------------------------------------------------------------
.../update/processor/UpdateRequestProcessorFactoryTest.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/e2d8f941/solr/core/src/test/org/apache/solr/update/processor/UpdateRequestProcessorFactoryTest.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/update/processor/UpdateRequestProcessorFactoryTest.java b/solr/core/src/test/org/apache/solr/update/processor/UpdateRequestProcessorFactoryTest.java
index 07f0484..228273f 100644
--- a/solr/core/src/test/org/apache/solr/update/processor/UpdateRequestProcessorFactoryTest.java
+++ b/solr/core/src/test/org/apache/solr/update/processor/UpdateRequestProcessorFactoryTest.java
@@ -47,10 +47,10 @@ public class UpdateRequestProcessorFactoryTest extends AbstractSolrTestCase {
public void testRequestTimeUrp(){
SolrCore core = h.getCore();
ModifiableSolrParams params = new ModifiableSolrParams()
- .add("processor", "Template")
- .add("Template.field", "id_t:${firstName}_${lastName}")
- .add("Template.field", "another_t:${lastName}_${firstName}")
- .add("Template.field", "missing_t:${lastName}_${unKnown}");
+ .add("processor", "template")
+ .add("template.field", "id_t:{firstName}_{lastName}")
+ .add("template.field", "another_t:{lastName}_{firstName}")
+ .add("template.field", "missing_t:{lastName}_{unKnown}");
UpdateRequestProcessorChain chain = core.getUpdateProcessorChain(params);
List<UpdateRequestProcessorFactory> l = chain.getProcessors();
assertTrue(l.get(0) instanceof TemplateUpdateProcessorFactory);