GWT-Maps-V3-Api icon indicating copy to clipboard operation
GWT-Maps-V3-Api copied to clipboard

Unit Tests Fail to Complete - HTMLUnit Errors

Open twistedpair opened this issue 11 years ago • 10 comments

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.

twistedpair avatar Jan 13 '14 04:01 twistedpair

Sure. I can take a look tonight after work.

branflake2267 avatar Jan 13 '14 17:01 branflake2267

@branflake2267 Thanks!

twistedpair avatar Jan 13 '14 20:01 twistedpair

I caught up with the master and ran the tests and there are a few errors.

screen shot 2014-01-13 at 8 32 25 pm

branflake2267 avatar Jan 14 '14 04:01 branflake2267

@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!

twistedpair avatar Jan 14 '14 21:01 twistedpair

mvn clean integration-test I think it was. I didn't try that. mvn gwt:test I think too.

branflake2267 avatar Jan 14 '14 21:01 branflake2267

I do stuff like that all the time :)

branflake2267 avatar Jan 14 '14 21:01 branflake2267

Neither seem to work. What config do you use when building in TeamCity?

twistedpair avatar Jan 15 '14 00:01 twistedpair

I'll have to test, I've turned off my server at the moment.

branflake2267 avatar Jan 15 '14 00:01 branflake2267

@branflake2267 Any updates on getting these tests to pass in CI?

twistedpair avatar Mar 08 '14 16:03 twistedpair

I can look later today. I've turned on my server in the garage, and can use that to help.

branflake2267 avatar Mar 08 '14 17:03 branflake2267