Return-Path: X-Original-To: apmail-accumulo-commits-archive@www.apache.org Delivered-To: apmail-accumulo-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AC4329918 for ; Mon, 16 Apr 2012 13:03:32 +0000 (UTC) Received: (qmail 42756 invoked by uid 500); 16 Apr 2012 13:03:32 -0000 Delivered-To: apmail-accumulo-commits-archive@accumulo.apache.org Received: (qmail 42734 invoked by uid 500); 16 Apr 2012 13:03:32 -0000 Mailing-List: contact commits-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list commits@accumulo.apache.org Received: (qmail 42727 invoked by uid 99); 16 Apr 2012 13:03:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2012 13:03:32 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2012 13:03:31 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 4596E2388860 for ; Mon, 16 Apr 2012 13:03:11 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1326587 - /accumulo/trunk/test/system/auto/simple/shell.py Date: Mon, 16 Apr 2012 13:03:11 -0000 To: commits@accumulo.apache.org From: ecn@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120416130311.4596E2388860@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: ecn Date: Mon Apr 16 13:03:10 2012 New Revision: 1326587 URL: http://svn.apache.org/viewvc?rev=1326587&view=rev Log: ACCUMULO-535 ACCUMULO-372 remove select/selectrow tests because they are gone in 1.5 Modified: accumulo/trunk/test/system/auto/simple/shell.py Modified: accumulo/trunk/test/system/auto/simple/shell.py URL: http://svn.apache.org/viewvc/accumulo/trunk/test/system/auto/simple/shell.py?rev=1326587&r1=1326586&r2=1326587&view=diff ============================================================================== --- accumulo/trunk/test/system/auto/simple/shell.py (original) +++ accumulo/trunk/test/system/auto/simple/shell.py Mon Apr 16 13:03:10 2012 @@ -27,7 +27,7 @@ class ShellTest(TestUtilsMixin,unittest. Some other shell functions are tests in the systemp and tablep tests""" command_list = [ "help", "tables", "table", "createtable", "deletetable", - "insert", "selectrow", "select", "scan", "user", "users", "delete", + "insert", "scan", "user", "users", "delete", "flush", "config", "setiter", "deleteiter", "whoami", "debug", "tablepermissions", "userpermissions", "authenticate", "createuser", "dropuser", "passwd", "setauths", "getauths", "grant", "revoke" ] @@ -51,8 +51,6 @@ class ShellTest(TestUtilsMixin,unittest. self.deletetableTest() self.scanTest() self.insertTest() - self.selectrowTest() - self.selectTest() self.flushTest() self.whoamiTest() self.getauthsTest() @@ -220,7 +218,7 @@ class ShellTest(TestUtilsMixin,unittest. else: if line[-10:] == "> help -np": startLooking = True - log.debug("missing commands:" + "".join(commands)) + log.debug("missing commands:" + ", ".join(commands)) self.failIf(len(commands) > 0, "help command doesn't cover all the commands") def tablesTest(self): @@ -337,30 +335,6 @@ class ShellTest(TestUtilsMixin,unittest. out, err, code = self.rootShell(self.masterHost(), input) self.processResult(out, err, code) - def selectrowTest(self): - input = "createtable test_select_table\ninsert one two three four\n" - out, err, code = self.rootShell(self.masterHost(), input) - self.processResult(out, err, code) - input = "table test_select_table\nselectrow one -np\n" - out, err, code = self.rootShell(self.masterHost(), input) - self.processResult(out, err, code) - self.failUnless(out.find("one") >= 0 and out.find("two") >= 0 and - out.find("three") >= 0 and out.find("four") >= 0, - "selectrow command did not return all the values") - self.failUnless(out.find("one") < out.find("two") < - out.find("three") < out.find("four"), - "selectrow command did not return the values in the right order") - - def selectTest(self): - input = "createtable test_select_table2\ninsert one two three seven\n" - out, err, code = self.rootShell(self.masterHost(), input) - self.processResult(out, err, code) - input = "table test_select_table2\nselect one two three -np\n" - out, err, code = self.rootShell(self.masterHost(), input) - self.processResult(out, err, code) - self.failUnless(out.find("seven") >= 0, - "select command did not return the correct values") - def flushTest(self): input = "flush -t !METADATA\n" out, err, code = self.rootShell(self.masterHost(), input)