You can use "*ClientConnectionUtil.waitForPort(port, timeout, true**, hostname);"* to wait for port to open after restart.
Thanks, Krishantha On Tue, Dec 15, 2015 at 4:39 PM, Gokul Balakrishnan <go...@wso2.com> wrote: > Hi TA team, > > Is there a way to do $subject? Basically, my requirement is for the > current thread to stay blocked until the initiated server restart is > complete. > > Is there a way to achieve this through the framework itself, rather than > use sleep() in the test code? We're currently using TAF 4.4.2 in DAS. > > Thanks, > > -- > Gokul Balakrishnan > Senior Software Engineer, > WSO2, Inc. http://wso2.com > Mob: +94 77 593 5789 | +1 650 272 9927 > -- Krishantha Samaraweera Senior Technical Lead - Test Automation Mobile: +94 77 7759918 WSO2, Inc.; http://wso2.com/ lean . enterprise . middleware.
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev