valid for packets == 0

This commit is contained in:
Doug MacEachern 2004-11-20 19:18:32 +00:00
parent 7250cd0ca6
commit 3b0a6af2d2
1 changed files with 2 additions and 2 deletions

View File

@ -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) {