Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 89BC7C7B for ; Tue, 3 May 2011 16:32:27 +0000 (UTC) Received: (qmail 14683 invoked by uid 500); 3 May 2011 16:32:27 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 14627 invoked by uid 500); 3 May 2011 16:32:27 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 14620 invoked by uid 99); 3 May 2011 16:32:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 May 2011 16:32:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 May 2011 16:32:25 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 39D8723889C5; Tue, 3 May 2011 16:32:04 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1099117 - /commons/sandbox/runtime/trunk/src/main/test/org/apache/commons/runtime/TestNetworkImpl.java Date: Tue, 03 May 2011 16:32:04 -0000 To: commits@commons.apache.org From: mturk@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110503163204.39D8723889C5@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: mturk Date: Tue May 3 16:32:03 2011 New Revision: 1099117 URL: http://svn.apache.org/viewvc?rev=1099117&view=rev Log: Test configureBlocking Modified: commons/sandbox/runtime/trunk/src/main/test/org/apache/commons/runtime/TestNetworkImpl.java Modified: commons/sandbox/runtime/trunk/src/main/test/org/apache/commons/runtime/TestNetworkImpl.java URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/test/org/apache/commons/runtime/TestNetworkImpl.java?rev=1099117&r1=1099116&r2=1099117&view=diff ============================================================================== --- commons/sandbox/runtime/trunk/src/main/test/org/apache/commons/runtime/TestNetworkImpl.java (original) +++ commons/sandbox/runtime/trunk/src/main/test/org/apache/commons/runtime/TestNetworkImpl.java Tue May 3 16:32:03 2011 @@ -115,6 +115,8 @@ public class TestNetworkImpl extends Ass assertEquals(fd, fs.getFD()); assertEquals(fd, fi.getFD()); assertEquals(fs.getFD(), fi.getFD()); + SocketInstance.configureBlocking(s, false); + SocketInstance.configureBlocking(s, true); s.close(); } @@ -143,6 +145,8 @@ public class TestNetworkImpl extends Ass assertEquals(fd, fs.getFD()); assertEquals(fd, fi.getFD()); assertEquals(fs.getFD(), fi.getFD()); + SocketInstance.configureBlocking(s, false); + SocketInstance.configureBlocking(s, true); s.close(); }