diff --git a/bindings/java/src/net/hyperic/sigar/test/TestNetIf.java b/bindings/java/src/net/hyperic/sigar/test/TestNetIf.java index 90ca5460..c7450471 100644 --- a/bindings/java/src/net/hyperic/sigar/test/TestNetIf.java +++ b/bindings/java/src/net/hyperic/sigar/test/TestNetIf.java @@ -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) {