commit | 930fc663c5cf85743bf103a4e1e5bbbf761b66a3 | [log] [tgz] |
---|---|---|
author | Ray Milkey <ray@onlab.us> | Tue Nov 11 16:07:45 2014 -0800 |
committer | Ray Milkey <ray@onlab.us> | Tue Nov 11 16:13:28 2014 -0800 |
tree | 04d61efcaf40f792e4a9d59aad0e586005c38613 | |
parent | 0a297b160bd80ba3da9c147897d0bffc21ab3b14 [diff] [blame] |
Add unit tests fir DefaultFlowEntry class Also fixed a bug where the error DefaultFlowEntry was not setting the timestamp. Change-Id: Ic23e91926605ea7c166b244d8352b58347844a5f
diff --git a/core/api/src/main/java/org/onlab/onos/net/flow/DefaultFlowEntry.java b/core/api/src/main/java/org/onlab/onos/net/flow/DefaultFlowEntry.java index c2d901b..c6cb361 100644 --- a/core/api/src/main/java/org/onlab/onos/net/flow/DefaultFlowEntry.java +++ b/core/api/src/main/java/org/onlab/onos/net/flow/DefaultFlowEntry.java
@@ -80,6 +80,7 @@ this.state = FlowEntryState.FAILED; this.errType = errType; this.errCode = errCode; + this.lastSeen = System.currentTimeMillis(); } @Override