incubator-accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bil...@apache.org
Subject svn commit: r1186246 - in /incubator/accumulo/trunk/test/system/auto: TestUtils.py simple/examples.py
Date Wed, 19 Oct 2011 14:51:19 GMT
Author: billie
Date: Wed Oct 19 14:51:19 2011
New Revision: 1186246

URL: http://svn.apache.org/viewvc?rev=1186246&view=rev
Log:
ACCUMULO-46 fixed paths to pkill.sh and examples jar

Modified:
    incubator/accumulo/trunk/test/system/auto/TestUtils.py
    incubator/accumulo/trunk/test/system/auto/simple/examples.py

Modified: incubator/accumulo/trunk/test/system/auto/TestUtils.py
URL: http://svn.apache.org/viewvc/incubator/accumulo/trunk/test/system/auto/TestUtils.py?rev=1186246&r1=1186245&r2=1186246&view=diff
==============================================================================
--- incubator/accumulo/trunk/test/system/auto/TestUtils.py (original)
+++ incubator/accumulo/trunk/test/system/auto/TestUtils.py Wed Oct 19 14:51:19 2011
@@ -149,7 +149,7 @@ class TestUtilsMixin:
 
 
     def pkill(self, host, pattern, signal=signal.SIGKILL):
-        cmd = [os.path.join(ACCUMULO_HOME, 'bin', 'pkill.sh'), str(signal), str(os.getuid()),
ID + '.*' + pattern]
+        cmd = [os.path.join(ACCUMULO_HOME, 'test', 'system', 'auto', 'pkill.sh'), str(signal),
str(os.getuid()), ID + '.*' + pattern]
         handle = self.runOn(host, cmd)
         handle.communicate()
 

Modified: incubator/accumulo/trunk/test/system/auto/simple/examples.py
URL: http://svn.apache.org/viewvc/incubator/accumulo/trunk/test/system/auto/simple/examples.py?rev=1186246&r1=1186245&r2=1186246&view=diff
==============================================================================
--- incubator/accumulo/trunk/test/system/auto/simple/examples.py (original)
+++ incubator/accumulo/trunk/test/system/auto/simple/examples.py Wed Oct 19 14:51:19 2011
@@ -59,7 +59,7 @@ class Examples(TestUtilsMixin, unittest.
 
     def runTest(self):
         self.ashell('createtable %s\nsetauths -u %s -s A,B\nquit\n' %(table, ROOT))
-        examplesJar = glob.glob('lib/accumulo-examples-*.jar')[0]
+        examplesJar = glob.glob(ACCUMULO_HOME+'/lib/accumulo-examples-*.jar')[0]
 
         self.comment("Testing dirlist example (a little)")
         self.comment("  ingesting accumulo source")



Mime
View raw message