Apache Lucene open-source search software
read both stderr and stdout from Solr example server
Michael McCandless44b883aff439
diff --git a/dev-tools/scripts/smokeTestRelease.py b/dev-tools/scripts/smokeTestRelease.pyindex 502e49b785f..f97aca6179c 100644--- a/dev-tools/scripts/smokeTestRelease.py+++ b/dev-tools/scripts/smokeTestRelease.py@@ -724,7 +724,7 @@ def readSolrOutput(p, startupEvent, failureEvent, logFile):f = open(logFile, 'wb')try:while True:- line = p.stderr.readline()+ line = p.stdout.readline()if len(line) == 0:p.poll()if not startupEvent.isSet():@@ -758,7 +758,7 @@ def testSolrExample(unpackPath, javaPath, isSrc):env.update(os.environ)env['JAVA_HOME'] = javaPathenv['PATH'] = '%s/bin:%s' % (javaPath, env['PATH'])- server = subprocess.Popen(['java', '-jar', 'start.jar'], stdout=subprocess.PIPE, stderr=subprocess.PIPE, stdin=subprocess.PIPE, env=env)+ server = subprocess.Popen(['java', '-jar', 'start.jar'], stdout=subprocess.PIPE, stderr=subprocess.STDOUT, stdin=subprocess.PIPE, env=env)startupEvent = threading.Event()failureEvent = threading.Event()