test sockets/cores > 0
This commit is contained in:
parent
a3364ec38d
commit
ae063a9019
|
@ -40,6 +40,8 @@ public class TestCpuInfo extends SigarTestCase {
|
|||
traceln("model=" + info.getModel());
|
||||
traceln("mhz=" + info.getMhz());
|
||||
traceln("cache size=" + info.getCacheSize());
|
||||
assertGtZeroTrace("totalSockets", info.getTotalSockets());
|
||||
assertGtZeroTrace("totalCores", info.getTotalCores());
|
||||
assertTrue(info.getTotalSockets() <= info.getTotalCores());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue