Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 73B7C74E7 for ; Wed, 12 Oct 2011 18:39:36 +0000 (UTC) Received: (qmail 21984 invoked by uid 500); 12 Oct 2011 18:39:36 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 21963 invoked by uid 500); 12 Oct 2011 18:39:36 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 21955 invoked by uid 99); 12 Oct 2011 18:39:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2011 18:39:36 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2011 18:39:33 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 68A11305C6B for ; Wed, 12 Oct 2011 18:39:12 +0000 (UTC) Date: Wed, 12 Oct 2011 18:39:12 +0000 (UTC) From: "stack (Resolved) (JIRA)" To: issues@hbase.apache.org Message-ID: <1936431548.5988.1318444752430.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1984251875.10541.1318031729712.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (HBASE-4555) TestShell seems passed, but actually errors seen in test output file MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-4555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack resolved HBASE-4555. -------------------------- Resolution: Fixed Fix Version/s: 0.92.0 Hadoop Flags: Reviewed Committed to 0.92 and TRUNK. Thank you for the patch Mingjie. > TestShell seems passed, but actually errors seen in test output file > -------------------------------------------------------------------- > > Key: HBASE-4555 > URL: https://issues.apache.org/jira/browse/HBASE-4555 > Project: HBase > Issue Type: Test > Components: test > Reporter: Mingjie Lai > Assignee: Mingjie Lai > Fix For: 0.92.0 > > Attachments: 4555.diff, HBase-4555-trunk-0.92.patch > > > When I was making test cases for 4554, I saw a weird issue that TestShell seems to pass, but actually I saw error messages in the output file. > {code} > ------------------------------------------------------- > T E S T S > ------------------------------------------------------- > Running org.apache.hadoop.hbase.client.TestShell > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 39.252 sec > Results : > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 > {code} > Error messages in org.apache.hadoop.hbase.client.TestShell-output.txt: > {code} > ... > 6) Error: > test_alter_should_support_shortcut_DELETE_alter_specs(Hbase::AdminAlterTableTest): > ArgumentError: There should be at least one argument but the table name > /home/mlai/git/hbase-private/src/test/ruby/../../main/ruby/hbase/admin.rb:307:in `alter' > ./src/test/ruby/hbase/admin_test.rb:271:in `test_alter_should_support_shortcut_DELETE_alter_specs' > org/jruby/RubyProc.java:268:in `call' > org/jruby/RubyKernel.java:2038:in `send' > org/jruby/RubyArray.java:1572:in `each' > org/jruby/RubyArray.java:1572:in `each' > > 7) Error: > test_split_should_work(Hbase::AdminMethodsTest): > ArgumentError: wrong number of arguments (1 for 2) > ./src/test/ruby/hbase/admin_test.rb:99:in `test_split_should_work' > org/jruby/RubyProc.java:268:in `call' > org/jruby/RubyKernel.java:2038:in `send' > org/jruby/RubyArray.java:1572:in `each' > org/jruby/RubyArray.java:1572:in `each' > > 192 tests, 259 assertions, 1 failures, 6 errors > Done with tests! Shutting down the cluster... > 2011-10-07 16:46:14,760 INFO [main] hbase.HBaseTestingUtility(551): Shutting down minicluster > 2011-10-07 16:46:14,760 DEBUG [main] util.JVMClusterUtil(214): Shutting down HBase Cluster > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira