Thanks Pablo,
yes I did, but with the same result:
[INFO] [gwt:test {execution: test}]
[INFO] using GWT jars from project dependencies : 1.6.4
[INFO] Unpack native libraries required to run GWT
[INFO] establishing classpath list (scope = test)
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running Test for a Seeders Grid
[INFO] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
71.431 sec <<< FAILURE!
[INFO] testPlantSimple
(biz.carboncreditcorp.greenprogram.web.gwt.client.GwtAppTest) Time
elapsed: 71.413 sec <<< ERROR!
[INFO] com.google.gwt.junit.client.TimeoutException: The browser did
not contact the server within 60000ms.
[INFO] - 1 client(s) haven't responded back to JUnitShell since the
start of the test.
[INFO] Actual time elapsed: 60.038 seconds.
[INFO] at com.google.gwt.junit.JUnitShell.notDone(JUnitShell.java:
551)
[INFO] at com.google.gwt.dev.HostedModeBase.pumpEventLoop
(HostedModeBase.java:556)
[INFO] at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:
652)
[INFO] at com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:
346)
[INFO] at com.google.gwt.junit.client.GWTTestCase.runTest
(GWTTestCase.java:219)
[INFO] at junit.framework.TestCase.runBare(TestCase.java:134)
[INFO] at junit.framework.TestResult$1.protect(TestResult.java:110)
[INFO] at junit.framework.TestResult.runProtected(TestResult.java:
128)
[INFO] at junit.framework.TestResult.run(TestResult.java:113)
[INFO] at junit.framework.TestCase.run(TestCase.java:124)
[INFO] at com.google.gwt.junit.client.GWTTestCase.run
(GWTTestCase.java:132)
[INFO] at junit.framework.TestSuite.runTest(TestSuite.java:232)
[INFO] at junit.framework.TestSuite.run(TestSuite.java:227)
[INFO] at junit.framework.TestSuite.runTest(TestSuite.java:232)
[INFO] at junit.framework.TestSuite.run(TestSuite.java:227)
[INFO] at junit.framework.TestSuite.runTest(TestSuite.java:232)
[INFO] at junit.framework.TestSuite.run(TestSuite.java:227)
[INFO] at org.codehaus.mojo.gwt.test.MavenTestRunner.doRun
(MavenTestRunner.java:105)
[INFO] at junit.textui.TestRunner.start(TestRunner.java:180)
[INFO] at org.codehaus.mojo.gwt.test.MavenTestRunner.main
(MavenTestRunner.java:63)
[INFO]
[INFO]
[INFO] Results :
[INFO]
[INFO] Tests in error:
[INFO] testPlantSimple
(biz.carboncreditcorp.greenprogram.web.gwt.client.GwtAppTest)
[INFO]
[INFO] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
[INFO]
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] There was test failures.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4 minutes 19 seconds
[INFO] Finished at: Wed Jul 29 14:00:59 PDT 2009
[INFO] Final Memory: 19M/52M
Here is my pom.xml:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>1.1</version>
<configuration>
<argLine>-XstartOnFirstThread -Xmx512M -Xss1024k</argLine>
<includes>**/GwtTestSuiteApp.java</includes>
<testTimeOut>1800</testTimeOut>
</configuration>
<executions>
<execution>
<id>test</id>
<goals>
<goal>test</goal>
</goals>
<phase>test</phase>
</execution>
</executions>
</plugin>
No idea what to do now. I use Junit4.4.
-- Dusan
> Have you tried the following option?
http://mojo.codehaus.org/gwt-maven-plugin/test-mojo.html#testTimeOut