You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by da...@apache.org on 2017/07/25 09:06:33 UTC

[48/50] [abbrv] lucene-solr:feature/autoscaling: SOLR-10494: fix smoker

SOLR-10494: fix smoker


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/56ad1a7a
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/56ad1a7a
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/56ad1a7a

Branch: refs/heads/feature/autoscaling
Commit: 56ad1a7a9b049e7399c0e482dcf6f4f395472f5b
Parents: 6a59253
Author: Chris Hostetter <ho...@apache.org>
Authored: Mon Jul 24 15:36:29 2017 -0700
Committer: Chris Hostetter <ho...@apache.org>
Committed: Mon Jul 24 15:36:29 2017 -0700

----------------------------------------------------------------------
 dev-tools/scripts/smokeTestRelease.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/56ad1a7a/dev-tools/scripts/smokeTestRelease.py
----------------------------------------------------------------------
diff --git a/dev-tools/scripts/smokeTestRelease.py b/dev-tools/scripts/smokeTestRelease.py
index 1083a09..01706a7 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('<result name="response" numFound="3" start="0">') == -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: