thanks guys, I did it in an @After-method anyway to make sure it still gets cleaned on exceptions. enjoy https://github.com/apache/cloudstack/pull/2384
On Wed, Jan 3, 2018 at 3:27 PM, Rohit Yadav <rohit.ya...@shapeblue.com> wrote: > +1 remove after test finishes. > > > > - Rohit > > <https://cloudstack.apache.org> > > > > ________________________________ > From: Daan Hoogland <daan.hoogl...@gmail.com> > Sent: Wednesday, January 3, 2018 7:17:04 PM > To: dev > Subject: test file sticking around > > devs, > > This has been bugging me but not enough to tackle: a file named > 'services/secondary-storage/server/testfile' is created during the build > and I think it is created in > NfsSecondaryStorageResourceTest.testSwiftWriteMetadataFile(). I want to > solve this with an @After method. Any reason not to? like it being used in > more then just this test, or it should be destroyed in the test itself. > > regards, > -- > Daan > > rohit.ya...@shapeblue.com > www.shapeblue.com > 53 Chandos Place, Covent Garden, London WC2N 4HSUK > @shapeblue > > > > -- Daan