JSUnitテストをHudsonで実行しようとしています。
しかし、ブラウザはタイムアウトし続けます:
[junit] INFO: Launching Internet Explorer on http://localhost/jsunit/testRunner.html?testPage=localhost/jsunit/tests/jsUnitOnLoadTests.html&autoRun=true&browserId=0&submitResults=localhost:8081/jsunit/acceptor
[junit] 24/09/2011 9:29:14 AM net.jsunit.TestRunManager runTests
[junit] INFO: Waiting for Internet Explorer to submit result
[junit] 24/09/2011 9:30:15 AM net.jsunit.TimeoutChecker run
[junit] WARNING: Browser Internet Explorer timed out after 60 seconds
IE、Firefox、Chromeを使用しても同じ結果が得られます。
コマンドラインからANTを実行すると、期待どおりの結果が得られます。
[junit] INFO: Launching Internet Explorer on http://localhost/jsunit/testRuner.html?testPage=localhost/jsunit/tests/jsUnitOnLoadTests.html&autoRun=true&broserId=0&submitResults=localhost:8081/jsunit/acceptor
[junit] 24/09/2011 9:28:58 AM net.jsunit.TestRunManager runTests
[junit] INFO: Waiting for Internet Explorer to submit result
[junit] - Could not load portlet-api, disabling webwork's portlet support.
[junit] 24/09/2011 9:29:00 AM net.jsunit.action.ResultAcceptorAction execute
[junit] INFO: Received submission from browser Internet Explorer
私が使用している単体テストは、JSUnitに付属しているデフォルトです:failingTest.html&jsUnitOnLoadTests.html
私はそれが許可されているとは思いません(コマンドラインから実行できるため)。
OS:Windows 7、Java 1.6.0アップデート26、ANT 1.8.2