[JIRA] Commented: (CC-1008) BuildDetailControllerTest failing on Windows
"Dan Rollo (JIRA)" <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.devel |
|---|---|
| Message-ID | <11203746.1292845369843.JavaMail.jira@chidmzhosting02.thoughtworks.com> |
[ http://jira.public.thoughtworks.org/browse/CC-1008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_18983 ]
Dan Rollo commented on CC-1008:
-------------------------------
The tests are run from a source directory that has been checked out from subversion. Are you running in an IDE or from the command line? There should be no .svn dirs in the "target" folder.
> 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
> Attachments: patch_CC_1008.txt
>
>
> 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
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d