Feature Request

2 views
Skip to first unread message

Jan Miller

unread,
Sep 25, 2006, 8:26:47 PM9/25/06
to Google Web Toolkit
I would like to see some way of increasing the timeout period for
JUnitShell. It is currently hardcoded to 20 seconds. I mostly develop
from a ClearCase file system and am seeing the first test case fail for
every unit test that I have created, with a TimeoutException. The rest
of the test cases pass without any problems. I moved the files being
tested to a local drive and the TimeoutException is no longer thrown.
The running time decreases from 30+ seconds to 10.

dominik_steiner

unread,
Sep 26, 2006, 2:33:03 AM9/26/06
to Google Web Toolkit
yes, i can only agree with that... i'm having a similar issue and it
would be nice to change the timeout period.

Jan, how did you solve it in the meantime?

Miguel Méndez

unread,
Sep 26, 2006, 7:55:05 AM9/26/06
to Google-We...@googlegroups.com
Hello Jan,

I agree that the timeout should be configurable.  I have added it as a feature request so we won't lose this request.  In the meantime, you could always modify your copy of the com.google.gwt.junit.JUnitShell class to use a larger value for the TEST_BEGIN_TIMEOUT_MILLIS constant.

Cheers,

Jan Miller

unread,
Sep 26, 2006, 7:59:08 PM9/26/06
to Google Web Toolkit
I added a dummyTest method before the actual test methods for each
class. That way all my cases would run. I believe Miguel's solution
is better, but I haven't tried it yet.

Reply all
Reply to author
Forward
0 new messages