Remove assertion

The assertion is built on the assumption that cpuinfo_max_freq is readable by user, which may not be universaly true.
This commit is contained in:
Laszlo Hornyak 2014-02-10 19:49:55 +01:00
parent ab15653d68
commit bdf50f6d24
1 changed files with 1 additions and 2 deletions

View File

@ -452,7 +452,6 @@ public class LibvirtComputingResourceTest {
public void getCpuSpeed() {
Assume.assumeTrue(SystemUtils.IS_OS_LINUX);
NodeInfo nodeInfo = Mockito.mock(NodeInfo.class);
long cpuSpeed = LibvirtComputingResource.getCpuSpeed(nodeInfo);
Assert.assertTrue(cpuSpeed > 0);
LibvirtComputingResource.getCpuSpeed(nodeInfo);
}
}