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