From: David Daney <ddaney@avtrex.com>
To: Joshua Sumali <jsumali@redhat.com>
Cc: mauve-patches@sources.redhat.com
Subject: Re: FYI: Test Fix
Date: Tue, 24 Jul 2007 20:17:00 -0000 [thread overview]
Message-ID: <46A65E3A.4060101@avtrex.com> (raw)
In-Reply-To: <46A5FE5E.3080603@redhat.com>
Joshua Sumali wrote:
> This small patch fixes the timeout test in
> gnu/testlet/java/net/HttpURLConnection/
>
> The test now passes on jamvm and openjdk.
>
> 2007-07-24 Joshua Sumali <jsumali@redhat.com>
>
> * gnu/testlet/java/net/HttpURLConnection/timeout.java:
> (testConnectTimeout): Fixed test.
>
>
>
> ------------------------------------------------------------------------
>
> #P mauve
> Index: gnu/testlet/java/net/HttpURLConnection/timeout.java
> ===================================================================
> RCS file: /cvs/mauve/mauve/gnu/testlet/java/net/HttpURLConnection/timeout.java,v
> retrieving revision 1.1
> diff -u -r1.1 timeout.java
> --- gnu/testlet/java/net/HttpURLConnection/timeout.java 8 Dec 2006 06:43:58 -0000 1.1
> +++ gnu/testlet/java/net/HttpURLConnection/timeout.java 24 Jul 2007 13:17:57 -0000
> @@ -248,7 +248,7 @@
> // It should timeout.
> long end = System.currentTimeMillis();
> long delta = end - start;
> - h.check((delta > 2000) && (delta < 5000));
> + h.check((delta > 0) && (delta < 5000));
> }
> }
> catch (IOException e)
I wonder if this could have been caused by the extra ':' in the url on
line 233. Could you try changing the url from "http://10.20.30.40:/foo"
to "http://10.20.30.40/foo", and see if that fixes the problem instead?
If not, I think the change you made is sensible.
Thanks
David Daney
next prev parent reply other threads:[~2007-07-24 20:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-24 13:28 Joshua Sumali
2007-07-24 20:17 ` David Daney [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-07-24 19:37 Joshua Sumali
2007-07-18 18:49 Joshua Sumali
2007-07-13 20:22 Joshua Sumali
2007-07-13 16:04 Joshua Sumali
2007-07-10 14:03 Joshua Sumali
2007-06-29 19:38 Tania Bento
2007-06-29 22:42 ` Mario Torre
2007-07-03 13:11 ` Tania Bento
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46A65E3A.4060101@avtrex.com \
--to=ddaney@avtrex.com \
--cc=jsumali@redhat.com \
--cc=mauve-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).