Author: ecn
Date: Mon Apr 22 19:51:34 2013
New Revision: 1470684
URL: http://svn.apache.org/r1470684
Log:
ACCUMULO-1211 new format breaks functional test
Modified:
accumulo/branches/1.5/test/system/auto/simple/simpleBalancer.py
Modified: accumulo/branches/1.5/test/system/auto/simple/simpleBalancer.py
URL:
http://svn.apache.org/viewvc/accumulo/branches/1.5/test/system/auto/simple/simpleBalancer.py?rev=1470684&r1=1470683&r2=1470684&view=diff
==============================================================================
--- accumulo/branches/1.5/test/system/auto/simple/simpleBalancer.py (original)
+++ accumulo/branches/1.5/test/system/auto/simple/simpleBalancer.py Mon Apr 22
19:51:34 2013
@@ -89,12 +89,12 @@ class SimpleBalancerFairness(SunnyDayTes
# will be split evenly on both servers, not just one
table = ''
for line in out.split('\n'):
- if line.find(' Name ') == 0:
- server = line[6:]
+ if line.find(' Name: ') == 0:
+ server = line[7:]
servers.setdefault(server, 0)
- if line.find('Table ') >= 0:
+ if line.find('Table: ') >= 0:
table = line.split(' ')[-1]
- if line.find(' Tablets ') == 0:
+ if line.find(' Tablets: ') == 0:
if table == '1':
servers[server] += int(line.split()[-1])
log.info("Tablet counts " + repr(servers))