Return-Path: X-Original-To: apmail-curator-dev-archive@minotaur.apache.org Delivered-To: apmail-curator-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 A2294172BD for ; Tue, 28 Apr 2015 02:58:06 +0000 (UTC) Received: (qmail 57499 invoked by uid 500); 28 Apr 2015 02:58:06 -0000 Delivered-To: apmail-curator-dev-archive@curator.apache.org Received: (qmail 57450 invoked by uid 500); 28 Apr 2015 02:58:06 -0000 Mailing-List: contact dev-help@curator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@curator.apache.org Delivered-To: mailing list dev@curator.apache.org Received: (qmail 57433 invoked by uid 99); 28 Apr 2015 02:58:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Apr 2015 02:58:06 +0000 Date: Tue, 28 Apr 2015 02:58:06 +0000 (UTC) From: "Cameron McKenzie (JIRA)" To: dev@curator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CURATOR-210) Unit tests using server.close() are fragile. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Cameron McKenzie created CURATOR-210: ---------------------------------------- Summary: Unit tests using server.close() are fragile. Key: CURATOR-210 URL: https://issues.apache.org/jira/browse/CURATOR-210 Project: Apache Curator Issue Type: Bug Reporter: Cameron McKenzie Assignee: Cameron McKenzie Unit tests that use the pattern of server.close() then recreating a new TestingServer instance to simulate connection loss are fragile and will fail periodically. This appears to be due to a ZooKeeper bug (https://issues.apache.org/jira/browse/ZOOKEEPER-832). It can be worked around by using the server.restart() method instead of close and recreate. All unit tests need to be investigated and fixed as necessary. -- This message was sent by Atlassian JIRA (v6.3.4#6332)