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() {


-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to