valid for packets == 0
This commit is contained in:
parent
7250cd0ca6
commit
3b0a6af2d2
|
@ -37,8 +37,8 @@ public class TestNetIf extends SigarTestCase {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
NetInterfaceStat ifstat = sigar.getNetInterfaceStat(name);
|
NetInterfaceStat ifstat = sigar.getNetInterfaceStat(name);
|
||||||
assertGtZeroTrace("RxPackets", ifstat.getRxPackets());
|
assertGtEqZeroTrace("RxPackets", ifstat.getRxPackets());
|
||||||
assertGtZeroTrace("TxPackets", ifstat.getTxPackets());
|
assertGtEqZeroTrace("TxPackets", ifstat.getTxPackets());
|
||||||
} catch (SigarNotImplementedException e) {
|
} catch (SigarNotImplementedException e) {
|
||||||
//ok
|
//ok
|
||||||
} catch (SigarException e) {
|
} catch (SigarException e) {
|
||||||
|
|
Loading…
Reference in New Issue