SOLR-6926: fix smokeTestRelease.py to stop calling ant example.

This commit is contained in:
David Smiley 2016-03-08 14:36:04 -05:00
parent e3fcbfe7ce
commit e490b329b3
1 changed files with 2 additions and 1 deletions

View File

@ -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')