Skip to content

Commit 6682240

Browse files
committed
Update failpoints
1 parent 82bfcc1 commit 6682240

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

tests/robustness/failpoint/failpoint.go

+16-15
Original file line numberDiff line numberDiff line change
@@ -49,25 +49,26 @@ var allFailpoints = []Failpoint{
4949
DropPeerNetwork,
5050
SleepBeforeSendWatchResponse,
5151
// bad
52-
BackendBeforeStartDBTxnPanic,
53-
RaftBeforeApplySnapPanic,
54-
RaftAfterApplySnapPanic,
55-
RaftAfterWALReleasePanic,
56-
RaftBeforeSaveSnapPanic,
57-
BlackholeUntilSnapshot,
58-
MemberReplace,
52+
// BackendBeforeStartDBTxnPanic,
53+
// RaftBeforeApplySnapPanic,
54+
// RaftAfterApplySnapPanic,
55+
// RaftAfterWALReleasePanic,
56+
// RaftBeforeSaveSnapPanic,
57+
// BlackholeUntilSnapshot,
58+
// MemberReplace,
5959

6060
// not available
61-
RaftBeforeLeaderSendPanic,
62-
RaftAfterSaveSnapPanic,
63-
64-
// not tested yet
65-
RaftBeforeSaveSleep,
66-
RaftAfterSaveSleep,
67-
ApplyBeforeOpenSnapshot,
61+
// RaftBeforeLeaderSendPanic,
62+
// RaftAfterSaveSnapPanic,
63+
// ApplyBeforeOpenSnapshot,
64+
65+
// deadlock
66+
// RaftBeforeSaveSleep,
67+
// RaftAfterSaveSleep,
68+
// BlackholePeerNetwork,
6869
}
6970

70-
func PickRandom(clus *e2e.EtcdProcessCluster, profile traffic.Profile) (Failpoint, error) {
71+
func PickRandom(clus *e2e.EtcdProcessCluster) (Failpoint, error) {
7172
availableFailpoints := make([]Failpoint, 0, len(allFailpoints))
7273
for _, failpoint := range allFailpoints {
7374
err := Validate(clus, failpoint, profile)

0 commit comments

Comments
 (0)