* increase timeout in java.net.ServerSocket.AcceptTimeout
@ 2008-09-01 9:39 Christian Thalinger
0 siblings, 0 replies; only message in thread
From: Christian Thalinger @ 2008-09-01 9:39 UTC (permalink / raw)
To: mauve-patches ml
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 <twisti@complang.tuwien.ac.at>
+
+ * gnu/testlet/java/net/ServerSocket/AcceptTimeout.java (test):
+ Increase timeout from 200 to 2000.
+
2008-08-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
* 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();
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-09-01 9:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-01 9:39 increase timeout in java.net.ServerSocket.AcceptTimeout Christian Thalinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).