directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DIRSERVER-1255) unit tests fail on windows (jdbm-store and core-integ)
Date Mon, 15 Sep 2008 07:15:44 GMT

    [ https://issues.apache.org/jira/browse/DIRSERVER-1255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12630944#action_12630944
] 

Emmanuel Lecharny commented on DIRSERVER-1255:
----------------------------------------------

Hi Norval,

I have partially applied the patch on trunk (http://svn.apache.org/viewvc?rev=695361&view=rev).
The part in JdbmIndex just makes sense.

About the JdbmIndexTest class, FileUtils.deleteDirectory( dbFileDir ) will do the same thing,
checing internally for every single file, so I think it's better to keep it. Can you check
if the initial fix in JdbmIndex is enough ?

Thanks !

> unit tests fail on windows (jdbm-store and core-integ)
> ------------------------------------------------------
>
>                 Key: DIRSERVER-1255
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1255
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core, tools
>    Affects Versions: 1.5.4
>         Environment: C:\src\ad-1.5.4>mvn -version
> Maven version: 2.0.8
> Java version: 1.5.0_11
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
> C:\src\ad-1.5.4>java -version
> java version "1.5.0_11"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)
> and running mvn from a dos command prompt 
>            Reporter: Norval Hope
>            Priority: Blocker
>         Attachments: jdbm-store-test-failures.patch
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> A checkout of http://svn.apache.org/repos/asf/directory/apacheds/trunk-with-dependencies
followed by a "mvn install" fails. Initially jdbm-store/ fails with:
> Tests in error:
>  testNoEqualityMatching(org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndexTest)
>  testSingleValuedAttribute(org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndexTest)
> If JdbmIndexTest is moved out of the way then there are bulk failures in core-integ/
.
> The evidence seems to indicate that all the failures are related to deletion of temp
directories failing due windows filesystem semantics.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message