-
Notifications
You must be signed in to change notification settings - Fork 15
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
[WIP] Add stateful linerate test #362
Conversation
Codecov Report
@@ Coverage Diff @@
## main #362 +/- ##
=========================================
Coverage 68.51% 68.51%
Complexity 489 489
=========================================
Files 39 39
Lines 3475 3475
Branches 356 356
=========================================
Hits 2381 2381
Misses 899 899
Partials 195 195 Continue to review full report at Codecov.
|
1e63e07
to
2f7086a
Compare
prog_c = ASTFProgram() | ||
prog_c.send(payload) | ||
prog_c.recv(len(payload)) | ||
prog_c.delay(1000) # wait for usecs | ||
prog_c.send(payload) | ||
|
||
prog_s = ASTFProgram() | ||
prog_s.recv(len(payload)) | ||
prog_s.send(payload) | ||
prog_s.recv(len(payload)) |
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.
This is where the TCP "programs" are created. Statistics will reflect whether flows matched the expected pattern.
You're welcome. Glad |
This PR adds a stateful linerate test.
Example output: