Return-Path: X-Original-To: apmail-incubator-bigtop-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-bigtop-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BEF29D2F5 for ; Fri, 20 Jul 2012 06:03:38 +0000 (UTC) Received: (qmail 97883 invoked by uid 500); 20 Jul 2012 06:03:38 -0000 Delivered-To: apmail-incubator-bigtop-dev-archive@incubator.apache.org Received: (qmail 97292 invoked by uid 500); 20 Jul 2012 06:03:37 -0000 Mailing-List: contact bigtop-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: bigtop-dev@incubator.apache.org Delivered-To: mailing list bigtop-dev@incubator.apache.org Received: (qmail 95892 invoked by uid 99); 20 Jul 2012 06:03:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jul 2012 06:03:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 1546814285B for ; Fri, 20 Jul 2012 06:03:35 +0000 (UTC) Date: Fri, 20 Jul 2012 06:03:35 +0000 (UTC) From: =?utf-8?Q?Bruno_Mah=C3=A9_=28JIRA=29?= To: bigtop-dev@incubator.apache.org Message-ID: <803359271.80795.1342764215090.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1784658328.78205.1342732174767.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Comment Edited] (BIGTOP-678) make hive TestJdbcDriver more robust MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/BIGTOP-678?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1341= 8946#comment-13418946 ]=20 Bruno Mah=C3=A9 edited comment on BIGTOP-678 at 7/20/12 6:03 AM: ------------------------------------------------------------ +1. But wouldn't it have been easier to use Integer.getInteger(value, default) = and make 1000 and the property name constants? =20 was (Author: bmahe): +1. But wouldn't it have been easier to use Integer.getInteger(value, default) = and make 1000 a constant? =20 > make hive TestJdbcDriver more robust > ------------------------------------ > > Key: BIGTOP-678 > URL: https://issues.apache.org/jira/browse/BIGTOP-678 > Project: Bigtop > Issue Type: Improvement > Components: Tests > Affects Versions: 0.3.0, 0.4.0 > Reporter: Wing Yew Poon > Assignee: Wing Yew Poon > Fix For: 0.5.0 > > Attachments: BIGTOP-678.txt > > > I plan to attach a patch to make TestJdbcDriver more robust, by parameter= izing the wait time for the hive server to be up (it is currently hardcoded= to 1 second, which may not be long enough) and by introducing a timeout to= the test method (in my experience, if for some reason hive is not up or ot= herwise able to respond successfully, the test hangs). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira