-
Notifications
You must be signed in to change notification settings - Fork 87
Clone the field definition #16
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
Conversation
Otherwise we end up changing the field definitions.
Thanks a lot for your contributions @bodgit, it would be super nice if you can add test for this change. We try to enforce that all PR introduce some kind of testing, so we're able to increase the overall quality. Don't hesitate to ask any question regarding you might have, more than looking forward to help. |
I happened to have tested this PR, so I can provide a .pcap file that, when replayed to the netflow udp port, is able to reproduce the original condition that this PR fixes. |
There are tests in the source already under |
@jorritfolmer thank you for helping test! This is useful info :) |
There seems to be an issue with a stream of netflow packets in 1 single .dat file.
If I change it to a single packet in a .dat file, things are fine. However, for this test I need to:
The tests to be done are:
Without the fix in this PR, the json from source B will fail to match. But how do I wrestle this set-of-packets into rspec? |
Yeah! I think I've found a way to create a test that decodes an ordered set of packets! |
Jenkins standing by to test this. If you aren't a maintainer, you can ignore this comment. Someone with commit access, please review this and clear it for Jenkins to run; then say 'jenkins, test it'. |
Closed with half-twin PR #25 |
Otherwise we end up changing the field definitions. Fixes some of the issues seen in #6.