Temporary folders left behind when running unit tests

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Temporary folders left behind when running unit tests

Raul Kripalani
Hi Igniters,

I'm seeing temporary folders left behind with pre-allocated storage with
every grid instance started by my unit tests (which extend
GridCommonAbstractTest).

On a Mac, the folder structure looks like this:

/private/var/folders/tv/ly66_c6121jg370fvnfcb_mh0000gn/T/1439602418579-1
    |--- version-2
    |       |--- acceptedEpoch
    |       |--- currentEpoch
    |       |--- log.100000001  (67,1mb)
    |       |--- log.200000001  (67,1mb)
    |--- myid

And there's one such structure per grid instance started in the tests.

Anyone else having the same problem?

Thanks,

*Raúl Kripalani*
Apache Camel PMC Member & Committer | Enterprise Architect, Open Source
Integration specialist
http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani
http://blog.raulkr.net | twitter: @raulvk
Reply | Threaded
Open this post in threaded view
|

Re: Temporary folders left behind when running unit tests

yzhdanov
Raul, I have just googled and it seems that acceptedEpoch and currentEpoch
are somehow related to ZooKeeper. Is this what you working on? Can you
recheck that this is produced by Ignite?

--Yakov

2015-08-15 4:38 GMT+03:00 Raul Kripalani <[hidden email]>:

> Hi Igniters,
>
> I'm seeing temporary folders left behind with pre-allocated storage with
> every grid instance started by my unit tests (which extend
> GridCommonAbstractTest).
>
> On a Mac, the folder structure looks like this:
>
> /private/var/folders/tv/ly66_c6121jg370fvnfcb_mh0000gn/T/1439602418579-1
>     |--- version-2
>     |       |--- acceptedEpoch
>     |       |--- currentEpoch
>     |       |--- log.100000001  (67,1mb)
>     |       |--- log.200000001  (67,1mb)
>     |--- myid
>
> And there's one such structure per grid instance started in the tests.
>
> Anyone else having the same problem?
>
> Thanks,
>
> *Raúl Kripalani*
> Apache Camel PMC Member & Committer | Enterprise Architect, Open Source
> Integration specialist
> http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani
> http://blog.raulkr.net | twitter: @raulvk
>
Reply | Threaded
Open this post in threaded view
|

Re: Temporary folders left behind when running unit tests

Raul Kripalani-2
Duh, dumb of me not to have Googled it before asking!

I must be missing some cleanup in my unit tests.

Will check and update my PR.

Cheers.
On 17 Aug 2015 13:42, "Yakov Zhdanov" <[hidden email]> wrote:

> Raul, I have just googled and it seems that acceptedEpoch and currentEpoch
> are somehow related to ZooKeeper. Is this what you working on? Can you
> recheck that this is produced by Ignite?
>
> --Yakov
>
> 2015-08-15 4:38 GMT+03:00 Raul Kripalani <[hidden email]>:
>
> > Hi Igniters,
> >
> > I'm seeing temporary folders left behind with pre-allocated storage with
> > every grid instance started by my unit tests (which extend
> > GridCommonAbstractTest).
> >
> > On a Mac, the folder structure looks like this:
> >
> > /private/var/folders/tv/ly66_c6121jg370fvnfcb_mh0000gn/T/1439602418579-1
> >     |--- version-2
> >     |       |--- acceptedEpoch
> >     |       |--- currentEpoch
> >     |       |--- log.100000001  (67,1mb)
> >     |       |--- log.200000001  (67,1mb)
> >     |--- myid
> >
> > And there's one such structure per grid instance started in the tests.
> >
> > Anyone else having the same problem?
> >
> > Thanks,
> >
> > *Raúl Kripalani*
> > Apache Camel PMC Member & Committer | Enterprise Architect, Open Source
> > Integration specialist
> > http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani
> > http://blog.raulkr.net | twitter: @raulvk
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Temporary folders left behind when running unit tests

Raul Kripalani
Pull request updated. Thanks.

*Raúl Kripalani*
Apache Camel PMC Member & Committer | Enterprise Architect, Open Source
Integration specialist
http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani
http://blog.raulkr.net | twitter: @raulvk

On Mon, Aug 17, 2015 at 8:57 PM, Raul Kripalani <[hidden email]> wrote:

> Duh, dumb of me not to have Googled it before asking!
>
> I must be missing some cleanup in my unit tests.
>
> Will check and update my PR.
>
> Cheers.
> On 17 Aug 2015 13:42, "Yakov Zhdanov" <[hidden email]> wrote:
>
>> Raul, I have just googled and it seems that acceptedEpoch and currentEpoch
>> are somehow related to ZooKeeper. Is this what you working on? Can you
>> recheck that this is produced by Ignite?
>>
>> --Yakov
>>
>> 2015-08-15 4:38 GMT+03:00 Raul Kripalani <[hidden email]>:
>>
>> > Hi Igniters,
>> >
>> > I'm seeing temporary folders left behind with pre-allocated storage with
>> > every grid instance started by my unit tests (which extend
>> > GridCommonAbstractTest).
>> >
>> > On a Mac, the folder structure looks like this:
>> >
>> > /private/var/folders/tv/ly66_c6121jg370fvnfcb_mh0000gn/T/1439602418579-1
>> >     |--- version-2
>> >     |       |--- acceptedEpoch
>> >     |       |--- currentEpoch
>> >     |       |--- log.100000001  (67,1mb)
>> >     |       |--- log.200000001  (67,1mb)
>> >     |--- myid
>> >
>> > And there's one such structure per grid instance started in the tests.
>> >
>> > Anyone else having the same problem?
>> >
>> > Thanks,
>> >
>> > *Raúl Kripalani*
>> > Apache Camel PMC Member & Committer | Enterprise Architect, Open Source
>> > Integration specialist
>> > http://about.me/raulkripalani |
>> http://www.linkedin.com/in/raulkripalani
>> > http://blog.raulkr.net | twitter: @raulvk
>> >
>>
>