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 E7CD91095A for ; Mon, 31 Aug 2015 23:44:04 +0000 (UTC) Received: (qmail 5374 invoked by uid 500); 31 Aug 2015 23:44:04 -0000 Delivered-To: apmail-curator-dev-archive@curator.apache.org Received: (qmail 5325 invoked by uid 500); 31 Aug 2015 23:44:04 -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 5314 invoked by uid 99); 31 Aug 2015 23:44:04 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Aug 2015 23:44:04 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 67447E045F; Mon, 31 Aug 2015 23:44:04 +0000 (UTC) From: Randgalt To: dev@curator.apache.org Reply-To: dev@curator.apache.org References: In-Reply-To: Subject: [GitHub] curator pull request: [CURATOR-253] Use new injectSessionExpiratio... Content-Type: text/plain Message-Id: <20150831234404.67447E045F@git1-us-west.apache.org> Date: Mon, 31 Aug 2015 23:44:04 +0000 (UTC) Github user Randgalt commented on a diff in the pull request: https://github.com/apache/curator/pull/100#discussion_r38372964 --- Diff: curator-recipes/src/test/java/org/apache/curator/framework/recipes/cache/TestTreeCache.java --- @@ -377,7 +377,6 @@ public void testKilledSession() throws Exception assertEvent(TreeCacheEvent.Type.NODE_ADDED, "/test/me"); KillSession.kill(client.getZookeeperClient().getZooKeeper(), server.getConnectString()); - assertEvent(TreeCacheEvent.Type.CONNECTION_SUSPENDED); --- End diff -- Killing the session goes immediately to LOST. It actually was always a possibility but now it does it so fast that it's always the case. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---