You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Ádám Markovics (Jira)" <ji...@apache.org> on 2020/07/07 14:16:00 UTC

[jira] [Resolved] (MINIFICPP-1276) CAPITests should clean up the temporary files it creates

     [ https://issues.apache.org/jira/browse/MINIFICPP-1276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ádám Markovics resolved MINIFICPP-1276.
---------------------------------------
    Resolution: Fixed

> CAPITests should clean up the temporary files it creates
> --------------------------------------------------------
>
>                 Key: MINIFICPP-1276
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1276
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: Bug
>            Reporter: Ádám Markovics
>            Assignee: Ádám Markovics
>            Priority: Minor
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> *Background:*
> Running tests on MiNiFi currently leaves untracked files in the working directory.
> {code:bash|title=Test example generating untracked files}
> adam@amarkovics-Linux:~/work/minifi-cpp/build$ git st
>  On branch MINIFICPP-1183
> Your branch is up to date with 'origin/MINIFICPP-1183'.
>  nothing to commit, working tree clean
> adam@amarkovics-Linux:~/work/minifi-cpp/build$ ctest -j24 -R CAPITests
> Test project /home/adam/work/minifi-cpp/build
> Start 30: CAPITests
> 1/1 Test #30: CAPITests ........................   Passed    0.01 sec
>  100% tests passed, 0 tests failed out of 1
>  Total Test time (real) =   0.01
> secadam@amarkovics-Linux:~/work/minifi-cpp/build$ git st
> On branch MINIFICPP-1183Your branch is up to date with 'origin/MINIFICPP-1183'.
>  Untracked files:  (use "git add <file>..." to include in what will be committed)
>  \ ../libminifi/test/1593438783981-9
>  nothing added to commit but untracked files present (use "git add" to track)
> {code}
> *Proposal:*
> There are utility functions available that create temporary directories for all target platforms. Change the tests so that they use this functionality.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)