On Thu, May 5, 2011 at 10:21 AM, Hiranya Jayathilaka <hira...@wso2.com>wrote:
> > > On Thu, May 5, 2011 at 10:10 AM, Ranga Siriwardena <ra...@wso2.com> wrote: > >> >> On Thu, May 5, 2011 at 10:02 AM, Isuru Suriarachchi <is...@wso2.com>wrote: >> >>> Hi Hiranya, >>> >>> You can achieve this by having different test modules for different sets >>> of tests. In AS, I've added two modules, one for admin service related tests >>> and the other for executing AS samples. So the server starts up twice for >>> two different modules. >>> >> >> We also achieved this in GS. We starts new server instance for each >> separable test module. So each module can run with fresh set of resources. >> > > I was more hoping for a way to do this in a single module. But this works > at least for the existing ESB tests. However what if we want to come up with > a test case which involves restarting the server? How do we do that? > You could call the ServerAdmin.restart operation > Thanks, > Hiranya > > >> >> >>> Thanks, >>> ~Isuru >>> >>> On Thu, May 5, 2011 at 9:44 AM, Hiranya Jayathilaka <hira...@wso2.com>wrote: >>> >>>> Folks any thoughts on this? Currently we have left some crucial ESB test >>>> cases commented out because of this limitation :( >>>> >>>> Thanks, >>>> Hiranya >>>> >>>> >>>> On Wed, May 4, 2011 at 4:51 PM, Hiranya Jayathilaka >>>> <hira...@wso2.com>wrote: >>>> >>>>> Hi, >>>>> >>>>> When you run a set of integration tests, the corresponding product is >>>>> only started up once. But for some tests we should be able to start fresh >>>>> by >>>>> copying certain resources into the product. How can we achieve this? >>>>> >>>>> Thanks >>>>> -- >>>>> Hiranya Jayathilaka >>>>> Senior Software Engineer; >>>>> WSO2 Inc.; http://wso2.org >>>>> E-mail: hira...@wso2.com; Mobile: +94 77 633 3491 >>>>> Blog: http://techfeast-hiranya.blogspot.com >>>>> >>>> >>>> >>>> >>>> -- >>>> Hiranya Jayathilaka >>>> Senior Software Engineer; >>>> WSO2 Inc.; http://wso2.org >>>> E-mail: hira...@wso2.com; Mobile: +94 77 633 3491 >>>> Blog: http://techfeast-hiranya.blogspot.com >>>> >>>> _______________________________________________ >>>> Carbon-dev mailing list >>>> Carbon-dev@wso2.org >>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>> >>>> >>> >>> >>> -- >>> Isuru Suriarachchi >>> Technical Lead & Product Manager, WSO2 Application Server >>> WSO2 Inc. http://wso2.com >>> email : is...@wso2.com >>> blog : http://isurues.wordpress.com/ >>> >>> lean . enterprise . middleware >>> >>> >>> _______________________________________________ >>> Carbon-dev mailing list >>> Carbon-dev@wso2.org >>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> >>> >> Thank You. >> >> -- >> Ranga Siriwardena >> Software Engineer >> WSO2 Inc. >> >> Blog: http://rangasiriwardena.blogspot.com/ >> >> >> _______________________________________________ >> Carbon-dev mailing list >> Carbon-dev@wso2.org >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > > -- > Hiranya Jayathilaka > Senior Software Engineer; > WSO2 Inc.; http://wso2.org > E-mail: hira...@wso2.com; Mobile: +94 77 633 3491 > Blog: http://techfeast-hiranya.blogspot.com > > _______________________________________________ > Carbon-dev mailing list > Carbon-dev@wso2.org > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- *Afkham Azeez* Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com, * * *Member; Apache Software Foundation; **http://www.apache.org/*<http://www.apache.org/> * email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919 blog: **http://blog.afkham.org* <http://blog.afkham.org>* twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware*
_______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev