Hi Maheeka. AFAIK It is not good idea to implement deletion logic inside serverShoudown method. Because in integration tests you can start multiple carbon servers with port offsets. So if you call the serverShoudown() of one carbon server(port offset) it will try to delete the distribution which is still under test.
Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Fri, Jun 19, 2015 at 4:17 PM, Maheeka Jayasuriya <[email protected]> wrote: > Hi, > > During each test execution a copy of ESB distribution is unzipped to > target folder to run the tests against. The problem is that distribution > gets copied per execution per module. Each of this is ~250MB and therefore, > extremely space consuming. > > As per [1], we can add carbontmp folder deletion logic in serverShutdown > method. Is there any particular reason to preserve them? > > [1] > https://github.com/wso2/carbon-platform-integration/blob/master/test-automation-framework/org.wso2.carbon.automation.extensions/src/main/java/org/wso2/carbon/automation/extensions/servers/carbonserver/CarbonServerManager.java > > Thanks, > > Maheeka Jayasuriya > Software Engineer > Mobile : +94777750661 > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
