/hg/icedtea-web: Fix JNLPMatcherTest timeout from being too rest...
ddadacha at icedtea.classpath.org
ddadacha at icedtea.classpath.org
Wed Aug 1 07:13:12 PDT 2012
changeset 08e677a02458 in /hg/icedtea-web
details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=08e677a02458
author: Danesh Dadachanji <ddadacha at redhat.com>
date: Wed Aug 01 10:12:55 2012 -0400
Fix JNLPMatcherTest timeout from being too restrictive.
diffstat:
ChangeLog | 6 ++++++
tests/netx/unit/net/sourceforge/jnlp/JNLPMatcherTest.java | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r 504ad6ea95fa -r 08e677a02458 ChangeLog
--- 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 at 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 at redhat.com>
CVE-2012-3422, RH840592: Potential read from an uninitialized
diff -r 504ad6ea95fa -r 08e677a02458 tests/netx/unit/net/sourceforge/jnlp/JNLPMatcherTest.java
--- 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;
More information about the distro-pkg-dev
mailing list