cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daan Hoogland <daan.hoogl...@gmail.com>
Subject Re: test file sticking around
Date Wed, 03 Jan 2018 15:13:03 GMT
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.yadav@shapeblue.com>
wrote:

> +1 remove after test finishes.
>
>
>
> - Rohit
>
> <https://cloudstack.apache.org>
>
>
>
> ________________________________
> From: Daan Hoogland <daan.hoogland@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.yadav@shapeblue.com
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue
>
>
>
>


-- 
Daan

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