[
https://issues.apache.org/jira/browse/JENA-1406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16220145#comment-16220145
]
ASF GitHub Bot commented on JENA-1406:
--------------------------------------
GitHub user kinow opened a pull request:
https://github.com/apache/jena/pull/295
JENA-1406 use JUnit temp folder rule to create DB dir
Ticket in JIRA https://issues.apache.org/jira/browse/JENA-1406
This pull request changes the test to use a temporary folder, created by
the JUnit 4.+ temporary folder rule. This way we don't have to worry about
tests being executed in parallel.
Fixed the issue I had locally, but feedback is needed as this changes a
test in a new module :-)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kinow/jena JENA-1406
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/jena/pull/295.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #295
----
commit 8587fb58a5d22c0b081eb5a167f06945c2d194ed
Author: Bruno P. Kinoshita <[email protected]>
Date: 2017-10-26T08:22:54Z
JENA-1406 use JUnit temp folder rule to create DB dir
----
> Fix TDB2 TestDatabaseOps.compact_prefixes_3 test
> ------------------------------------------------
>
> Key: JENA-1406
> URL: https://issues.apache.org/jira/browse/JENA-1406
> Project: Apache Jena
> Issue Type: Bug
> Components: TDB
> Reporter: Bruno P. Kinoshita
> Assignee: Bruno P. Kinoshita
> Priority: Minor
> Labels: unit-test
>
> In the thread for 3.5.0 RC1 vote, I found that on
> {noformat}
> Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
> 2015-11-11T05:41:47+13:00)
> Maven home: /opt/maven
> Java version: 1.8.0_151, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-8-oracle/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "4.4.0-97-generic", arch: "amd64", family: "unix"
> {noformat}
> The TestDatabaseOps.compact_prefixes_3 test always failed with a
> NullPointerException and no stack trace.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)