accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1430407 - /accumulo/trunk/test/system/auto/simple/dynamic.py
Date Tue, 08 Jan 2013 17:53:39 GMT
Author: ecn
Date: Tue Jan  8 17:53:38 2013
New Revision: 1430407

URL: http://svn.apache.org/viewvc?rev=1430407&view=rev
Log:
ACCUMULO-708 fix dynamic class loading test

Modified:
    accumulo/trunk/test/system/auto/simple/dynamic.py

Modified: accumulo/trunk/test/system/auto/simple/dynamic.py
URL: http://svn.apache.org/viewvc/accumulo/trunk/test/system/auto/simple/dynamic.py?rev=1430407&r1=1430406&r2=1430407&view=diff
==============================================================================
--- accumulo/trunk/test/system/auto/simple/dynamic.py (original)
+++ accumulo/trunk/test/system/auto/simple/dynamic.py Tue Jan  8 17:53:38 2013
@@ -72,7 +72,12 @@ public class SummingCombiner%s extends L
 
         handle = self.runOn(self.masterHost(), [self.accumulo_sh(), 'classpath'])
         out, err = handle.communicate()
-        path = ':'.join(out.split('\n')[1:])
+	parts = []
+        for line in out.split('\n'):
+           line = line.strip()
+	   if line.startswith("file:"):
+              parts.append(line[5:])
+        path = ':'.join(parts)
 
         self.runWait("javac -cp %s:%s %s" % (
             path,



Mime
View raw message