Examples of BZ821058ResourceComponent


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

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

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

        BZ821058ResourceComponent server = this.components.iterator().next();
        // collection interval is set to 30s, and our container "connected-pc-with-metric-collection"
        // is configured to start collecting metrics after an initial delay of 10s (see arquillian.xml).
        // So let's give the test some time so the measurement facet can be called.
        server.getValuesLatch.await(45, TimeUnit.SECONDS);
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.