accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1599) MacTest should use target for MiniAccumuloCluster
Date Thu, 12 Dec 2013 00:28:07 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-1599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13845904#comment-13845904
] 

ASF subversion and git services commented on ACCUMULO-1599:
-----------------------------------------------------------

Commit c1fbeac505ad1d01da656f597487173dfb511ded in branch refs/heads/1.6.0-SNAPSHOT from [~ctubbsii]
[ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=c1fbeac ]

ACCUMULO-1599 Stop using /tmp wherever possible

  The only obvious remaining place I found was the Jetty temporary
  directories created by Hadoop MiniDFSCluster. These get cleaned up
  automatically when the tests pass and don't really offer much value
  for debugging test failures, so I don't consider it a high priority.


> MacTest should use target for MiniAccumuloCluster
> -------------------------------------------------
>
>                 Key: ACCUMULO-1599
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1599
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: mini
>            Reporter: Christopher Tubbs
>            Assignee: Christopher Tubbs
>             Fix For: 1.6.0
>
>         Attachments: ACCUMULO-1599.diff
>
>
> Many integration tests tend to start up an instance of MiniAccumuloCluster. They use
directories in /tmp and delete their folders when finished. This is difficult to debug. Instead
of using random filenames, they should use the name of the test, and instead of writing to
/tmp, they should write to ${project.build.directory} (aka "target/") and leave their directory
in place when finished for easier debugging (they can be cleaned with 'mvn clean' and overwritten
when the test re-runs).



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message