incubator-jena-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Seaborne (JIRA)" <>
Subject [jira] [Commented] (JENA-115) TxTDB tests fail on Windows
Date Sat, 17 Sep 2011 21:21:09 GMT


Andy Seaborne commented on JENA-115:

The test failures on windows were all caused by the fact that, on windows, you can't delete
a memory mapped file during the execution of the process.  It gets removed at the end (if
at all) of the process.

Therefore something like 

   FileOps.clearDirectory("dir") ;

leaves files from previous runs around, contaminating the test.

Tests now detect windows and, if windows, create a new directory for each test needing persistent

On Linux, the test reuse directories as before.

Text File Licensed for inclusion in ASF works

TestTransSystem4.patch reuses directories via 


> TxTDB tests fail on Windows
> ---------------------------
>                 Key: JENA-115
>                 URL:
>             Project: Jena
>          Issue Type: Bug
>          Components: TDB
>         Environment: Windows
>            Reporter: Paolo Castagna
>            Assignee: Andy Seaborne
>              Labels: tdb, txtdb, windows
>         Attachments: TestTransSystem4.patch
> As reported by Simon here: and by Dave here: we have tests failing in the current TxTDB test
> Running the TxTDB test suite on Jenkins using Windows shows the problem as well:

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message