-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FlowTracer: create a trace when policy-based routing drops a packet #5747
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @anothermattbrown and @progwriter)
a discussion (no related file):
Is there an obvious best way to test this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 1 files at r1.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @anothermattbrown and @dhalperi)
a discussion (no related file):
Previously, dhalperi (Dan Halperin) wrote…
Is there an obvious best way to test this?
we only have e2e-ish tests so far 😞
You can expand If statement here for a different IP (to drop) https://github.com/batfish/batfish/blob/master/projects/allinone/src/test/java/org/batfish/question/traceroute/TraceroutePolicyBasedRoutingTest.java#L86-L93
then check for dropped trace
Codecov Report
@@ Coverage Diff @@
## master #5747 +/- ##
============================================
- Coverage 71.43% 71.43% -0.01%
+ Complexity 33680 33673 -7
============================================
Files 2788 2788
Lines 139704 139705 +1
Branches 16794 16794
============================================
- Hits 99800 99793 -7
- Misses 32035 32037 +2
- Partials 7869 7875 +6
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 1 files at r1, 2 of 2 files at r2.
Reviewable status:complete! all files reviewed, all discussions resolved
No description provided.