Stephen,

I am not seeing these failures. Did recent commits include a fix? If so, where? I am running the tests under maven, Sun Linux JDK 1.4.2.

Phil

Stephen Colebourne wrote:
HELP!
Anyone got any good ideas or tools to track this down. It is now very
occaisional, but may knock out the next gump run! Today it only happens when
I run TestAllPackages.
Stephen

----- Original Message -----
From: "Stephen Colebourne" <[EMAIL PROTECTED]>
To: "Jakarta Commons Developers List" <[EMAIL PROTECTED]>
Sent: Tuesday, December 02, 2003 12:46 AM
Subject: [collections] Race condition



Sadly there seems to be a race condition in one of the new classes/tests

There was 1 failure:
1) testMapIteratorSet(TestFlat3Map.bulkTestMapIterator.testMapIteratorSet)
junit.framework.AssertionFailedError: Map must not contain old value
expected:<false> but was:<true>
at


org.apache.commons.collections.iterators.AbstractTestMapIterator.testMapIter


atorSet(AbstractTestMapIterator.java:267)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at


sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39


)
at


sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl


.java:25)
at org.apache.commons.collections.map.TestAll.main(TestAll.java:80)

When I run with Eclipse debugger the error is in TestFlat3Map. When I run
without the debugger, the error is in TestHashedMap. And occaisionaly it
works.

I'm going to sleep, so I'll disable the test for the moment in case Gump
runs. If anyone wants to play they're welcome - I'm guessing its the test
thats bad.

Stephen



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to