Committed by
Pavlin Radoslavov
IntentSync test without state
The current Router class does not check the Intent state. So I did not add the state in this patch. I will push another patch for testing the intent state. Change-Id: Idb44dcace5f33a0144852a999445931bc2189448
Showing
2 changed files
with
2 additions
and
1 deletions
... | @@ -447,7 +447,8 @@ public class Router implements RouteListener { | ... | @@ -447,7 +447,8 @@ public class Router implements RouteListener { |
447 | Objects.equal(action1, action2) && | 447 | Objects.equal(action1, action2) && |
448 | Objects.equal(egressPort1, egressPort2) && | 448 | Objects.equal(egressPort1, egressPort2) && |
449 | Objects.equal(ingressPorts1, ingressPorts2);*/ | 449 | Objects.equal(ingressPorts1, ingressPorts2);*/ |
450 | - return Objects.equal(intent1.selector(), intent2.selector()) && | 450 | + return Objects.equal(intent1.appId(), intent2.appId()) && |
451 | + Objects.equal(intent1.selector(), intent2.selector()) && | ||
451 | Objects.equal(intent1.treatment(), intent2.treatment()) && | 452 | Objects.equal(intent1.treatment(), intent2.treatment()) && |
452 | Objects.equal(intent1.ingressPoints(), intent2.ingressPoints()) && | 453 | Objects.equal(intent1.ingressPoints(), intent2.ingressPoints()) && |
453 | Objects.equal(intent1.egressPoint(), intent2.egressPoint()); | 454 | Objects.equal(intent1.egressPoint(), intent2.egressPoint()); | ... | ... |
This diff is collapsed. Click to expand it.
-
Please register or login to post a comment