Return-Path: Delivered-To: apmail-hadoop-zookeeper-dev-archive@minotaur.apache.org Received: (qmail 25158 invoked from network); 6 Apr 2009 21:16:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Apr 2009 21:16:34 -0000 Received: (qmail 8495 invoked by uid 500); 6 Apr 2009 21:16:34 -0000 Delivered-To: apmail-hadoop-zookeeper-dev-archive@hadoop.apache.org Received: (qmail 8437 invoked by uid 500); 6 Apr 2009 21:16:34 -0000 Mailing-List: contact zookeeper-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: zookeeper-dev@hadoop.apache.org Delivered-To: mailing list zookeeper-dev@hadoop.apache.org Received: (qmail 8427 invoked by uid 99); 6 Apr 2009 21:16:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Apr 2009 21:16:34 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Apr 2009 21:16:33 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0F9A2234C004 for ; Mon, 6 Apr 2009 14:16:13 -0700 (PDT) Message-ID: <1681415992.1239052573062.JavaMail.jira@brutus> Date: Mon, 6 Apr 2009 14:16:13 -0700 (PDT) From: "Mahadev konar (JIRA)" To: zookeeper-dev@hadoop.apache.org Subject: [jira] Commented: (ZOOKEEPER-343) add tests that specifically verify the zkmain and qpmain classes In-Reply-To: <1166464368.1237393190406.JavaMail.jira@brutus> 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/ZOOKEEPER-343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696251#action_12696251 ] Mahadev konar commented on ZOOKEEPER-343: ----------------------------------------- i am really glad that you removed this {code} runStandalone(new ZooKeeperServer.Factory() {code} That zookeeperserver factory used to annoy me a lot. I have one question though -- - you have removed the QuorumpeerConfig inheting from ServerConfig... I actually liked that and would like to keep it. Imagine we just passed around configs in our server code inside al lthe processors. I would like to have one common interface to pass around all the config stuff that can be used by all the code on the server side. > add tests that specifically verify the zkmain and qpmain classes > ---------------------------------------------------------------- > > Key: ZOOKEEPER-343 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-343 > Project: Zookeeper > Issue Type: Improvement > Components: tests > Reporter: Patrick Hunt > Assignee: Patrick Hunt > Fix For: 3.2.0 > > Attachments: ZOOKEEPER-343.patch, ZOOKEEPER-343.patch > > > We are missing tests for these two main() routines. > Add tests that verify standalone and quorum (2 servers is probably enough) by starting and connecting a client. > Use on-disk configuration files to configure these. > (ie verify starting with actual config files) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.