mirror of https://github.com/apache/lucene.git
SOLR-6926: fix smokeTestRelease.py to stop calling ant example.
This commit is contained in:
parent
e3fcbfe7ce
commit
e490b329b3
|
@ -700,7 +700,7 @@ def verifyUnpacked(java, project, artifact, unpackPath, gitRevision, version, te
|
|||
checkJavadocpathFull('%s/solr/build/docs' % unpackPath, False)
|
||||
|
||||
print(' test solr example w/ Java 8...')
|
||||
java.run_java8('ant clean example', '%s/antexample.log' % unpackPath)
|
||||
java.run_java8('ant clean server', '%s/antexample.log' % unpackPath)
|
||||
testSolrExample(unpackPath, java.java8_home, True)
|
||||
|
||||
os.chdir('..')
|
||||
|
@ -782,6 +782,7 @@ def readSolrOutput(p, startupEvent, failureEvent, logFile):
|
|||
f.close()
|
||||
|
||||
def testSolrExample(unpackPath, javaPath, isSrc):
|
||||
# test solr using some examples it comes with
|
||||
logFile = '%s/solr-example.log' % unpackPath
|
||||
if isSrc:
|
||||
os.chdir(unpackPath+'/solr')
|
||||
|
|
Loading…
Reference in New Issue