SOLR-8045: Fix smokeTestRelease.py from precommit

This commit is contained in:
Cao Manh Dat 2017-03-14 08:30:38 +07:00
parent abec54bd57
commit faeb1fe8c1
1 changed files with 1 additions and 1 deletions
dev-tools/scripts

View File

@ -856,7 +856,7 @@ def testSolrExample(unpackPath, javaPath, isSrc):
print('FAILED: response is:\n%s' % s)
raise RuntimeError('query on solr example instance failed')
s = load('http://localhost:8983/v2/cores')
if s.find('"responseHeader":{"status":0,"QTime":1}') == -1:
if s.find('"responseHeader":{"status":0') == -1:
print('FAILED: response is:\n%s' % s)
raise RuntimeError('query api v2 on solr example instance failed')
finally: