accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1324796 - /accumulo/branches/1.4/test/system/auto/run.py
Date Wed, 11 Apr 2012 14:52:02 GMT
Author: ecn
Date: Wed Apr 11 14:52:02 2012
New Revision: 1324796

URL: http://svn.apache.org/viewvc?rev=1324796&view=rev
Log:
ACCUMULO-522: fail-fast if the user has not set the ZOOKEEPER_HOME env var

Modified:
    accumulo/branches/1.4/test/system/auto/run.py

Modified: accumulo/branches/1.4/test/system/auto/run.py
URL: http://svn.apache.org/viewvc/accumulo/branches/1.4/test/system/auto/run.py?rev=1324796&r1=1324795&r2=1324796&view=diff
==============================================================================
--- accumulo/branches/1.4/test/system/auto/run.py (original)
+++ accumulo/branches/1.4/test/system/auto/run.py Wed Apr 11 14:52:02 2012
@@ -264,6 +264,10 @@ def main():
 
     assignOptions(filtered, options)
 
+    if not os.environ.get('ZOOKEEPER_HOME', None):
+       print "ZOOKEEPER_HOME needs to be set"
+       sys.exit(1)
+
     runner = TestRunner()
     
     suite = unittest.TestSuite()



Mime
View raw message