Hi Adam,
I think the cause of this strange behaviour was a missing runtime lib.
Just tested my build with your last changes you just committed. Now
different integrations tests are failing (as they did already before and
as expected in my actual setup) but the error output of the gradle
testrunner now points directly to the cause of the failing test (the
missing lib as already mentioned).
Thanks again,
René
Adam Murdoch schrieb:
On 6/02/10 11:20 AM, René Gröschke wrote:
Hi,
This evening I tested this snapshot too. I detected huge problems
with my junit tests. After some tests run, my gradle build hangs up
without error message. I have to stop the build via ctrl+c.
furthermore a java process which is a running test I think is still
listed in my process list. Sometimes, I noticed the following error
message between my testresuls:
[ant:junit] Exception in thread "pool-1-thread-1"
java.lang.IllegalStateException: Connection is in unexpected state
AwaitIncomingEndOfStream.
[ant:junit] at
org.gradle.messaging.dispatch.DeferredConnection.dispatch(DeferredConnection.java:169)
[ant:junit] at
org.gradle.messaging.dispatch.DeferredConnection.dispatch(DeferredConnection.java:29)
[ant:junit] at
org.gradle.messaging.dispatch.AsyncDispatch.dispatchMessages(AsyncDispatch.java:194)
[ant:junit] at
org.gradle.messaging.dispatch.AsyncDispatch.access$200(AsyncDispatch.java:34)
[ant:junit] at
org.gradle.messaging.dispatch.AsyncDispatch$2.run(AsyncDispatch.java:84)
[ant:junit] at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[ant:junit] at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[ant:junit] at java.lang.Thread.run(Thread.java:637)
This is odd. Your tests shouldn't have been using the new stuff yet.
Do your classes have any dependencies on Gradle classes?
Regardless, the changes I just checked in should fix this problem. Can
you try with a new snapshot?
--
------------------------------------
Rene Groeschke
[email protected]
http://www.breskeby.com
http://twitter.com/breskeby
------------------------------------
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email