Examples of BZ834019ResourceComponent


Examples of org.rhq.plugins.test.measurement.BZ834019ResourceComponent

        // make sure we have the resource component
        Assert.assertEquals(components.size(), 1, "missing component");

        assert containers.iterator().next().getResource().getInventoryStatus() == InventoryStatus.COMMITTED;

        BZ834019ResourceComponent server = this.components.iterator().next();

        // do things to test BZ 834019. Here's what is happening:
        // - server has metric1 and metric2 with intervals of 30s and 35s respectively
        //   (MUST make sure metric2 is no less than 35s, else the collections won't be late!)
        // - the resource component will sleep in its getValues for 91s - no metrics will be reported the first 91s
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.