GWT-Maps-V3-Api
GWT-Maps-V3-Api copied to clipboard
Unit Tests Fail to Complete - HTMLUnit Errors
branflake2267,
Can you confirm that the test suite runs for you? I've tried mvn clean install
from multiple machines and while the older builds pass, the HEAD of master fails with tons of errors similar to the below which imply that HTMLUnit cannot handle the calls from GMaps.
SEVERE: Job run failed with unexpected RuntimeException: TypeError: Cannot find function rotate in object [object CanvasRenderingContext2D]. (http://maps.gstatic.com/intl/en_us/mapfiles/api-3/13/15/main.js
I'd like to have the tests passing again locally for confidence and want to make sure it's not just me. Thanks.
Sure. I can take a look tonight after work.
@branflake2267 Thanks!
I caught up with the master and ran the tests and there are a few errors.
@branflake2267 Silly me, I hadn't tried running using the Run as Junit GWT Test
Eclipse shortcut, which does work. However, I still don't see the tests running properly with Maven. Do you use mvn clean test
, mvn clean install
or mvn clean gwt:test
? None of them are running the tests properly for me. Thanks!
mvn clean integration-test
I think it was. I didn't try that. mvn gwt:test
I think too.
I do stuff like that all the time :)
Neither seem to work. What config do you use when building in TeamCity?
I'll have to test, I've turned off my server at the moment.
@branflake2267 Any updates on getting these tests to pass in CI?
I can look later today. I've turned on my server in the garage, and can use that to help.