diff --git a/dev-tools/scripts/smokeTestRelease.py b/dev-tools/scripts/smokeTestRelease.py index 1083a09d425..01706a7d4e7 100644 --- a/dev-tools/scripts/smokeTestRelease.py +++ b/dev-tools/scripts/smokeTestRelease.py @@ -858,11 +858,11 @@ def testSolrExample(unpackPath, javaPath, isSrc): run('sh ./exampledocs/test_utf8.sh http://localhost:8983/solr/techproducts', 'utf8.log') print(' run query...') s = load('http://localhost:8983/solr/techproducts/select/?q=video') - if s.find('') == -1: + if s.find('"numFound":3,"start":0') == -1: 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') == -1: + if s.find('"status":0,') == -1: print('FAILED: response is:\n%s' % s) raise RuntimeError('query api v2 on solr example instance failed') finally: