[Geoserver-devel] [jira] Created: (GEOS-4555) Build failure in control-flow ControlFlowCallbackTest

Build failure in control-flow ControlFlowCallbackTest
-----------------------------------------------------

                 Key: GEOS-4555
                 URL: http://jira.codehaus.org/browse/GEOS-4555
             Project: GeoServer
          Issue Type: Bug
    Affects Versions: 2.2.x
         Environment: Apache Maven 2.2.1 (r801777; 2009-08-07 03:16:01+0800)
Java version: 1.5.0_22
Java home: /home/car605/junk/java/jdk1.5.0_22.i586/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux" version: "2.6.35.13-91.fc14.x86_64" arch: "i386" Family: "unix"

and

Apache Maven 2.2.1 (r801777; 2009-08-07 03:16:01+0800)
Java version: 1.5.0_22
Java home: /opt/jdk1.5.0_22/jre
Default locale: en_AU, platform encoding: UTF-8
OS name: "linux" version: "2.6.32-5-686" arch: "i386" Family: "unix"

            Reporter: Ben Caradoc-Davies
            Assignee: Andrea Aime
            Priority: Blocker

Looks like some sort of test race condition in ControlFlowCallbackTest that fails on our buildbot and locally in maven. Test passes in Eclipse and on OpenGeo Hudson.

{code}
-------------------------------------------------------------------------------
Test set: org.geoserver.flow.ControlFlowCallbackTest
-------------------------------------------------------------------------------
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.224 sec <<< FAILURE!
testBasicFunctionality(org.geoserver.flow.ControlFlowCallbackTest) Time elapsed: 0.004 sec <<< FAILURE!
junit.framework.AssertionFailedError: expected:<1> but was:<0>
        at junit.framework.Assert.fail(Assert.java:47)
        at junit.framework.Assert.failNotEquals(Assert.java:280)
        at junit.framework.Assert.assertEquals(Assert.java:64)
        at junit.framework.Assert.assertEquals(Assert.java:198)
        at junit.framework.Assert.assertEquals(Assert.java:204)
        at org.geoserver.flow.ControlFlowCallbackTest.testBasicFunctionality(ControlFlowCallbackTest.java:22)
{code}

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira