Extend tiemout of ImageResourceTest#testDedup

0 views
Skip to first unread message

jlab...@google.com

unread,
Nov 23, 2009, 5:57:07 PM11/23/09
to fab...@google.com, google-web-tool...@googlegroups.com
Reviewers: fabbott,

Description:
ImageResourceTest#testDedup sometimes fails because the timeout is only
1 second.

Fix:
====
Increased timeout to 10s, in line with other tests.


Please review this at http://gwt-code-reviews.appspot.com/112807

Affected files:
user/test/com/google/gwt/resources/client/ImageResourceTest.java


Index: user/test/com/google/gwt/resources/client/ImageResourceTest.java
===================================================================
--- user/test/com/google/gwt/resources/client/ImageResourceTest.java
(revision 7140)
+++ user/test/com/google/gwt/resources/client/ImageResourceTest.java
(working copy)
@@ -107,7 +107,7 @@
assertEquals(a.getLeft(), b.getTop());
assertEquals(a.getLeft(), c.getTop());

- delayTestFinish(1000);
+ delayTestFinish(10000);
// See if the size of the image strip is what we expect
Image i = new Image(a.getURL());
i.addLoadHandler(new LoadHandler() {


Reply all
Reply to author
Forward
0 new messages