Package org.apache.qpid.test.utils

Examples of org.apache.qpid.test.utils.PortHelper


        // make sure that port is there after broker restart
        stopBroker();

        // We shouldn't need to await the ports to be free, but it seems sometimes an RMI TCP Accept
        // thread is seen to close the socket *after* the broker has finished stopping.
        new PortHelper().waitUntilPortsAreFree(new HashSet<Integer>(Arrays.asList(jmxPort, rmiPort)));

        startBroker();

        portDetails = getRestTestHelper().getJsonAsList("port/" + portNameRMI);
        assertNotNull("Port details cannot be null", portDetails);
View Full Code Here


        // make sure that port is there after broker restart
        stopBroker();

        // We shouldn't need to await the ports to be free, but it seems sometimes an RMI TCP Accept
        // thread is seen to close the socket *after* the broker has finished stopping.
        new PortHelper().waitUntilPortsAreFree(new HashSet<Integer>(Arrays.asList(jmxPort, rmiPort)));

        startBroker();

        portDetails = getRestTestHelper().getJsonAsList("port/" + portNameRMI);
        assertNotNull("Port details cannot be null", portDetails);
View Full Code Here

TOP

Related Classes of org.apache.qpid.test.utils.PortHelper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.