directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <>
Subject [jira] Commented: (DIRSERVER-1255) unit tests fail on windows (jdbm-store and core-integ)
Date Tue, 16 Sep 2008 08:47:44 GMT


Emmanuel Lecharny commented on DIRSERVER-1255:

well, we are pretty much all working on linux/mac, except when it comes to build the release,
which does not require launching all the tests. This is why we can release on windows without
having the problem you have. Now, this is worrysome, as we may have similar problems on windows
with the release product... Nothing is perfect :/

Reagarding your patch, there are something I'm a little bit annoyed : The Transactionmanager
is a part of JDBM, which is just forked into ADS, as we are waiting for a patched version.
If we can avoid patching it again, that would be better. 

So is it important to close() the ObjectInputStream (I know, following the book, it should)
? If everything goes right, the owner.sync() method will flush everything on the disk for
real. If we have an exception, I would rather know what kind of exception we have. In any
case, I think the file will be deleted. Is there a remaining handler on this file somewhere

> unit tests fail on windows (jdbm-store and core-integ)
> ------------------------------------------------------
>                 Key: DIRSERVER-1255
>                 URL:
>             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, test-failures.patch
>   Original Estimate: 48h
>  Remaining Estimate: 48h
> A checkout of
followed by a "mvn install" fails. Initially jdbm-store/ fails with:
> Tests in error:
>  testNoEqualityMatching(
>  testSingleValuedAttribute(
> 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.

View raw message