-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
tests: Implement network delay and blackholing in linearizability tests #15048
Conversation
e904785
to
ddaa278
Compare
Codecov Report
@@ Coverage Diff @@
## main #15048 +/- ##
==========================================
- Coverage 74.72% 74.64% -0.09%
==========================================
Files 415 415
Lines 34273 34273
==========================================
- Hits 25611 25583 -28
- Misses 7026 7046 +20
- Partials 1636 1644 +8
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
ddaa278
to
47a592f
Compare
@@ -56,6 +56,8 @@ var ( | |||
CompactBeforeCommitBatchPanic Failpoint = goPanicFailpoint{"compactBeforeCommitBatch", triggerCompact, AnyMember} | |||
CompactAfterCommitBatchPanic Failpoint = goPanicFailpoint{"compactAfterCommitBatch", triggerCompact, AnyMember} | |||
RaftBeforeLeaderSendPanic Failpoint = goPanicFailpoint{"raftBeforeLeaderSend", nil, Leader} | |||
BlackholePeerNetwork Failpoint = blackholePeerNetworkFailpoint{duration: time.Second} |
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.
nit: have you considered adding target
(Leader, Follower, Quorum, All)? Similar to current functional test cases
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.
For now I focused on getting proxy integrated into e2e. There are definitely couple of important cases in network functional failpoints that we should implement. Will add it to #14045
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
47a592f
to
064fad5
Compare
cc @ahrtr @ptabor