Permalink
Browse files

ACCUMULO-827 Fixed up CloudStone1

- Fixed accumulo shell command
- Added assertion to CloudStone1
- Added pyc files to .gitignore


git-svn-id: https://svn.apache.org/repos/asf/accumulo/trunk@1405492 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent 02a2626 commit 7f7c45eb2f9bfb8e3dc16252de705fb3ed17f0ed @joshelser joshelser committed Nov 4, 2012
Showing with 3 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +1 −0 test/system/bench/cloudstone1/cloudstone1.py
  3. +1 −1 test/system/bench/lib/cloudshell.py
View
@@ -14,6 +14,7 @@
# limitations under the License.
# /
+*.pyc
/logs
/walogs
/target
@@ -30,6 +30,7 @@ def shortDescription(self):
def runTest(self):
code, out, err = cloudshell.run(self.username, self.password, 'table !METADATA\nscan\n')
+ self.assertEqual(code, 0, "Could not scan the !METADATA table. %s %s" % (out, err))
results = runAll('echo help | %s shell' %
accumulo('bin', 'accumulo'))
@@ -23,7 +23,7 @@
def run(username, password, input):
"Run a command in accumulo"
- handle = runner.start([path.accumulo('bin', 'accumulo'), 'shell -u %s -p %s' % (username, password) ],
+ handle = runner.start([path.accumulo('bin', 'accumulo'), 'shell', '-u', username, '-p', password],
stdin=subprocess.PIPE)
log.debug("Running: %r", input)
out, err = handle.communicate(input)

0 comments on commit 7f7c45e

Please sign in to comment.