SOLR-6362: fix test bug

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617289 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
James Dyer 2014-08-11 14:13:56 +00:00
parent 6caeac6c2c
commit 46d129a4ea
2 changed files with 3 additions and 1 deletions

View File

@ -346,6 +346,8 @@ Other Changes
* SOLR-6360: Remove bogus "Content-Charset" header in HttpSolrServer. (Michael Ryan, * SOLR-6360: Remove bogus "Content-Charset" header in HttpSolrServer. (Michael Ryan,
Uwe Schindler) Uwe Schindler)
* SOLR-6362: Fix bug in TestSqlEntityProcessorDelta. (James Dyer)
================== 4.9.0 ================== ================== 4.9.0 ==================
Versions of Major Components Versions of Major Components

View File

@ -127,7 +127,7 @@ public class TestSqlEntityProcessorDelta extends AbstractSqlEntityProcessorTestC
} }
if(countryChanges!=null) { if(countryChanges!=null) {
for(String code : countryChanges) { for(String code : countryChanges) {
assertQ(req("COUNTRY_CODE_s:" + code), "//*[@numFound='" + numberPeopleByCountryCode(code) + "']", "substring(//doc/str[@name='COUNTRY_NAME_s'], 1, 8)='MODIFIED'"); assertQ(req("COUNTRY_CODE_s:" + code), "//*[@numFound='" + numberPeopleByCountryCode(code) + "']", "substring((//doc/str[@name='COUNTRY_NAME_s'])[1], 1, 8)='MODIFIED'");
} }
} }
} }