[rfc][icedtea-web] Remove use of clear cache in PackGZip Tests

Jie Kang jkang at redhat.com
Fri Nov 21 20:41:47 UTC 2014



----- Original Message -----
> On 11/21/2014 09:31 PM, Jie Kang wrote:
> > Hello,
> >
> >
> > I just noticed that my push for the PackGZip tests included a mistake where
> > the test would clear cache in @Setup.
> >
> > This patch removes the method call.
> >
> > Okay to push?
> >
> >
> > Regards,
> >
> Well, why to not clean in @before? It gave sense to me to clear....

Main reason for me is that I don't remember any other reproducer that deletes the whole cache before running. I don't think it's dangerous.

Note that 'CacheUtil.clearCache' deletes the entire cache. So when you run all the reproducers and it hits the PackGZip reproducer, the cache will be reset to empty...


Regards,


> 
> J.
> 

-- 

Jie Kang


More information about the distro-pkg-dev mailing list