Package org.rioproject.gnostic.service.test

Examples of org.rioproject.gnostic.service.test.ExecutionNodeService


        File opstring = new File("src/test/opstring/executionNodeService.groovy");
        Assert.assertTrue(opstring.exists());
        testManager.deploy(opstring);
        Gnostic g = (Gnostic)testManager.waitForService(Gnostic.class);
        Util.waitForRule(g, "SLAKsessions");
        ExecutionNodeService test = (ExecutionNodeService)testManager.waitForService("ExecutionNodeService");

        for(int i=0; i<15; i++) {
            try {
                test.incrementSessionCounter();
                sleep(1000);
            } catch (Exception e) {
                e.printStackTrace();
                thrown = e;
            }
View Full Code Here

TOP

Related Classes of org.rioproject.gnostic.service.test.ExecutionNodeService

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.