From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24965 invoked by alias); 1 Sep 2008 09:39:49 -0000 Received: (qmail 24954 invoked by uid 22791); 1 Sep 2008 09:39:48 -0000 X-Spam-Check-By: sourceware.org Received: from vegas.theobroma-systems.com (HELO mail.theobroma-systems.com) (88.198.52.168) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 01 Sep 2008 09:39:09 +0000 Received: from [86.59.122.178] (port=60515 helo=[10.0.2.106]) by mail.theobroma-systems.com with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1Ka5sG-0002qN-4v for mauve-patches@sourceware.org; Mon, 01 Sep 2008 11:39:06 +0200 Subject: increase timeout in java.net.ServerSocket.AcceptTimeout From: Christian Thalinger To: mauve-patches ml Content-Type: text/plain Date: Mon, 01 Sep 2008 09:39:00 -0000 Message-Id: <1220261943.11930.3.camel@cthalinger> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact mauve-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: mauve-patches-owner@sourceware.org X-SW-Source: 2008/txt/msg00059.txt.bz2 Hi! The java.net.ServerSocket.AcceptTimeout test failed consistently on IcedTea with CACAO. I talked to Mark about it, as he's the author of the test, and he said we should increase the ServerSocket timeout. It seems to fix the issue. - twisti --- Index: ChangeLog =================================================================== RCS file: /cvs/mauve/mauve/ChangeLog,v retrieving revision 1.2125 diff -u -3 -p -r1.2125 ChangeLog --- ChangeLog 25 Aug 2008 15:13:14 -0000 1.2125 +++ ChangeLog 1 Sep 2008 09:34:33 -0000 @@ -1,3 +1,8 @@ +2008-09-01 Christian Thalinger + + * gnu/testlet/java/net/ServerSocket/AcceptTimeout.java (test): + Increase timeout from 200 to 2000. + 2008-08-25 Andrew John Hughes * gnu/testlet/java/lang/Enum/PR33183.java: Index: gnu/testlet/java/net/ServerSocket/AcceptTimeout.java =================================================================== RCS file: /cvs/mauve/mauve/gnu/testlet/java/net/ServerSocket/AcceptTimeout.java,v retrieving revision 1.1 diff -u -3 -p -r1.1 AcceptTimeout.java --- gnu/testlet/java/net/ServerSocket/AcceptTimeout.java 14 May 2006 19:55:28 -0000 1.1 +++ gnu/testlet/java/net/ServerSocket/AcceptTimeout.java 1 Sep 2008 09:34:35 -0000 @@ -39,7 +39,7 @@ public class AcceptTimeout implements Te try { ServerSocket ss = new ServerSocket(port); - ss.setSoTimeout(200); + ss.setSoTimeout(2000); Socket s = ss.accept(); harness.check(s.getSoTimeout(), 0); s.close();