mirror of https://github.com/apache/lucene.git
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:
parent
6caeac6c2c
commit
46d129a4ea
|
@ -346,6 +346,8 @@ Other Changes
|
|||
* SOLR-6360: Remove bogus "Content-Charset" header in HttpSolrServer. (Michael Ryan,
|
||||
Uwe Schindler)
|
||||
|
||||
* SOLR-6362: Fix bug in TestSqlEntityProcessorDelta. (James Dyer)
|
||||
|
||||
================== 4.9.0 ==================
|
||||
|
||||
Versions of Major Components
|
||||
|
|
|
@ -127,7 +127,7 @@ public class TestSqlEntityProcessorDelta extends AbstractSqlEntityProcessorTestC
|
|||
}
|
||||
if(countryChanges!=null) {
|
||||
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'");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue