[JIRA] Created: (CC-1008) BuildDetailControllerTest failing on Windows

"Antoine Levy Lambert (JIRA)" <[email protected]>
Newsgroups gmane.comp.java.cruise-control.devel
Message-ID <1230080657.1287172189857.JavaMail.jira@chidmzhosting02.thoughtworks.com>
BuildDetailControllerTest failing on Windows
--------------------------------------------

                 Key: CC-1008
                 URL: http://jira.public.thoughtworks.org/browse/CC-1008
             Project: CruiseControl
          Issue Type: Bug
    Affects Versions: 2.8.5
         Environment: Windows, JDK 1.6
            Reporter: Antoine Levy Lambert


When building CruiseControl from source on Windows I got this error 

   [junit] Testsuite: net.sourceforge.cruisecontrol.dashboard.web.BuildDetailControllerTest

    [junit] Tests run: 7, Failures: 1, Errors: 0, Time elapsed: 3.25 sec

    [junit] Tests run: 7, Failures: 1, Errors: 0, Time elapsed: 3.25 sec

    [junit] 

    [junit] Testcase: testShouldBeAbleToFindArtifactsForSuccessfulBuildOfConfiguredProject(net.sourceforge.cruisecontrol.dashboard.web.BuildDetailControllerTest):	FAILED

    [junit] [C:\dev\sourceforge\cruisecontrol\reporting\dashboard\test\data\arbitrary_artifacts\artifacts\project1\20051209122103\.svn, C:\dev\sourceforge\cruisecontrol\reporting\dashboard\test\data\arbitrary_artifacts\artifacts\project1\20051209122103\artifact1.txt, C:\dev\sourceforge\cruisecontrol\reporting\dashboard\test\data\arbitrary_artifacts\artifacts\project1\20051209122103\coverage.xml, C:\dev\sourceforge\cruisecontrol\reporting\dashboard\test\data\arbitrary_artifacts\artifacts\project1\20051209122103\subdir] expected:<3> but was:<4>

    [junit] junit.framework.AssertionFailedError: [C:\dev\sourceforge\cruisecontrol\reporting\dashboard\test\data\arbitrary_artifacts\artifacts\project1\20051209122103\.svn, C:\dev\sourceforge\cruisecontrol\reporting\dashboard\test\data\arbitrary_artifacts\artifacts\project1\20051209122103\artifact1.txt, C:\dev\sourceforge\cruisecontrol\reporting\dashboard\test\data\arbitrary_artifacts\artifacts\project1\20051209122103\coverage.xml, C:\dev\sourceforge\cruisecontrol\reporting\dashboard\test\data\arbitrary_artifacts\artifacts\project1\20051209122103\subdir] expected:<3> but was:<4>

Either the test should be fixed to ignore the .svn directory or net.sourceforge.cruisecontrol.dashboard.BuildDetail.getArtifactFiles should be changed to ignore artifacts whose name start with a period.

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

        

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.