mirror of https://github.com/apache/jclouds.git
Issue 695: Fix test
This commit is contained in:
parent
dd5ba49218
commit
e4fdcbbeb1
|
@ -114,7 +114,7 @@ public class PerformanceStatisticsJAXBParsingTest extends BaseRestClientTest {
|
||||||
private void assertVirtalMachineStatistics(Set<VirtualMachinePerformanceStatistic> vmStatistics) {
|
private void assertVirtalMachineStatistics(Set<VirtualMachinePerformanceStatistic> vmStatistics) {
|
||||||
assertEquals(vmStatistics.size(),1);
|
assertEquals(vmStatistics.size(),1);
|
||||||
VirtualMachinePerformanceStatistic statistic = Iterables.getOnlyElement(vmStatistics);
|
VirtualMachinePerformanceStatistic statistic = Iterables.getOnlyElement(vmStatistics);
|
||||||
assertEquals(statistic.getStatistics().size(), 24);
|
assertEquals(statistic.getStatistics().size(), 7);
|
||||||
for(PerformanceStatistic stat: statistic.getStatistics()) {
|
for(PerformanceStatistic stat: statistic.getStatistics()) {
|
||||||
assertNotNull(stat.getTime());
|
assertNotNull(stat.getTime());
|
||||||
assertNotNull(stat.getUsed());
|
assertNotNull(stat.getUsed());
|
||||||
|
|
Loading…
Reference in New Issue