commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Heuer <heue...@acm.org>
Subject Re: [collections] Race condition
Date Wed, 03 Dec 2003 21:46:41 GMT

I gave it multiple tries but haven't been able to reproduce this
failure either, under maven and OSX JDK 1.4.1_01 or Sun Linux JDK 1.4.2.

   michael


On Wed, 3 Dec 2003, Stephen Colebourne wrote:

> I've seen it once today. Maybe its just my setup - as far as I can see there
> is no threading in these tests...
> Stephen
> Sun JDK1.4.1 Windows98
>
> ----- Original Message -----
> From: "Phil Steitz" <phil@steitz.com>
> > 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" <scolebourne@btopenworld.com>
> > > To: "Jakarta Commons Developers List" <commons-dev@jakarta.apache.org>
> > > 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: commons-dev-unsubscribe@jakarta.apache.org
> > >>For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> > >>
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> > >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message