cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafael Weingärtner <rafaelweingart...@gmail.com>
Subject Re: test file sticking around
Date Wed, 03 Jan 2018 14:17:50 GMT
+1 for removal.
Do you need to do this in the @After? If it is a single test method that is
creating this file, why not delete it after the assertions?

On Wed, Jan 3, 2018 at 11:47 AM, Daan Hoogland <daan.hoogland@gmail.com>
wrote:

> 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
>



-- 
Rafael Weingärtner

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message