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