mirror of https://github.com/apache/cloudstack.git
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:
parent
ab15653d68
commit
bdf50f6d24
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue