Return-Path: X-Original-To: apmail-incubator-jena-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-jena-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D00118AFD for ; Sat, 17 Sep 2011 21:21:30 +0000 (UTC) Received: (qmail 58003 invoked by uid 500); 17 Sep 2011 21:21:30 -0000 Delivered-To: apmail-incubator-jena-dev-archive@incubator.apache.org Received: (qmail 57919 invoked by uid 500); 17 Sep 2011 21:21:30 -0000 Mailing-List: contact jena-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jena-dev@incubator.apache.org Delivered-To: mailing list jena-dev@incubator.apache.org Received: (qmail 57861 invoked by uid 99); 17 Sep 2011 21:21:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Sep 2011 21:21:30 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Sep 2011 21:21:29 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 0C3EA9FB35 for ; Sat, 17 Sep 2011 21:21:09 +0000 (UTC) Date: Sat, 17 Sep 2011 21:21:09 +0000 (UTC) From: "Andy Seaborne (JIRA)" To: jena-dev@incubator.apache.org Message-ID: <1809648097.39169.1316294469047.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <784957611.27659.1316023988891.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (JENA-115) TxTDB tests fail on Windows MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JENA-115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13107263#comment-13107263 ] 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 storage. On Linux, the test reuse directories as before. Text File Licensed for inclusion in ASF works TestTransSystem4.patch reuses directories via clean() ==> FileOps.clearDirectory(LOC.getDirectoryPath()) > TxTDB tests fail on Windows > --------------------------- > > Key: JENA-115 > URL: https://issues.apache.org/jira/browse/JENA-115 > 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: http://markmail.org/message/o7eakyks55b3ylzr and by Dave here: http://markmail.org/message/oj3zbozlygkifs3i we have tests failing in the current TxTDB test suite. > Running the TxTDB test suite on Jenkins using Windows shows the problem as well: https://builds.apache.org/view/G-L/view/Jena/job/Jena_TxTDB/197/ -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira