Mercurial > hg > release > icedtea-web-1.4
changeset 475:08e677a02458
Fix JNLPMatcherTest timeout from being too restrictive.
author | Danesh Dadachanji <ddadacha@redhat.com> |
---|---|
date | Wed, 01 Aug 2012 10:12:55 -0400 |
parents | 504ad6ea95fa |
children | b04d8fd2c51a |
files | ChangeLog tests/netx/unit/net/sourceforge/jnlp/JNLPMatcherTest.java |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Tue Jul 24 11:44:50 2012 -0400 +++ b/ChangeLog Wed Aug 01 10:12:55 2012 -0400 @@ -1,3 +1,9 @@ +2012-07-31 Danesh Dadachanji <ddadacha@redhat.com> + + Minor fix to overly restrictive unit test. + * tests/netx/unit/net/sourceforge/jnlp/JNLPMatcherTest.java + (testIsMatchDoesNotHangOnLargeData): Increase timeout to 5 seconds. + 2012-07-24 Adam Domurad <adomurad@redhat.com> CVE-2012-3422, RH840592: Potential read from an uninitialized
--- a/tests/netx/unit/net/sourceforge/jnlp/JNLPMatcherTest.java Tue Jul 24 11:44:50 2012 -0400 +++ b/tests/netx/unit/net/sourceforge/jnlp/JNLPMatcherTest.java Wed Aug 01 10:12:55 2012 -0400 @@ -466,7 +466,7 @@ launchReader.close(); } - @Test (timeout=1000 /*ms*/) + @Test (timeout=5000 /*ms*/) public void testIsMatchDoesNotHangOnLargeData() throws JNLPMatcherException { /* construct an alphabet containing characters 'a' to 'z' */ final int ALPHABET_SIZE = 26;