Github user syed commented on the pull request: https://github.com/apache/cloudstack/pull/1331#issuecomment-211995051 @rafaelweingartner I've added the test mocking the `BufferedWriter`. When I tried to run the tests I found that the test required `agent.properties` and `log4j.xml` which I am not sure where they are. Also something that I found was that tests for this module (`cloud-secondary-storage`) are disabled [see here](https://github.com/apache/cloudstack/blob/master/services/secondary-storage/server/pom.xml#L30) and from the history it appears that this `SkipTests` was present from the beigninging. Any clues on fixing it?
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---