// 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);