Hi devs,

I want to restart the WSO2 server which was started in the beginning of the
Integration Test Run phase. I want to do this because I want to run all the
tests cases again for different configurations.

I was able to get all the tests run again with by creating a new test suit
xml with same test cases. However, I am not able to get the server
restarted with different configurations.


        serverManager1.applyConfiguration(new
File(FrameworkPathUtil.getSystemResourceLocation() + File.separator
                        + "artifacts" + File.separator + "mb" +
File.separator + "config" + File.separator + "advanced"
                        + File.separator + "andes-virtualhosts-H2-mem.xml"),
                new File(ServerConfigurationManager.getCarbonHome() +
File.separator + "repository" + File.separator
                        + "conf" + File.separator + "advanced" +
File.separator + "andes-virtualhosts.xml"), true, true);



-- 
*Darshana Akalanka Pagoda Arachchi,*
*Software Engineer*
*078-4721791*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to