mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #15601 from serathius/robustness-disable-blackhole
tests/robustness: Disable testing network blackhole until #15595 is fixed
This commit is contained in:
commit
4529f01876
@ -66,8 +66,9 @@ var (
|
||||
CompactBeforeSetFinishedCompactPanic, CompactAfterSetFinishedCompactPanic,
|
||||
CompactBeforeCommitBatchPanic, CompactAfterCommitBatchPanic,
|
||||
RaftBeforeLeaderSendPanic,
|
||||
BlackholePeerNetwork,
|
||||
DelayPeerNetwork,
|
||||
// TODO(https://github.com/etcd-io/etcd/issues/15595): Re-enable after issue is fixed
|
||||
//BlackholePeerNetwork,
|
||||
}
|
||||
RandomOneNodeClusterFailpoint Failpoint = randomFailpoint{oneNodeClusterFailpoints}
|
||||
RaftBeforeFollowerSendPanic Failpoint = goPanicFailpoint{"raftBeforeFollowerSend", nil, Follower}
|
||||
@ -78,8 +79,9 @@ var (
|
||||
RaftBeforeSaveSnapPanic Failpoint = goPanicFailpoint{"raftBeforeSaveSnap", triggerBlackholeUntilSnapshot, Follower}
|
||||
RaftAfterSaveSnapPanic Failpoint = goPanicFailpoint{"raftAfterSaveSnap", triggerBlackholeUntilSnapshot, Follower}
|
||||
RandomSnapshotFailpoint Failpoint = randomFailpoint{[]Failpoint{
|
||||
RaftBeforeApplySnapPanic, RaftAfterApplySnapPanic, RaftAfterWALReleasePanic, RaftBeforeSaveSnapPanic, RaftAfterSaveSnapPanic,
|
||||
BlackholeUntilSnapshot,
|
||||
// TODO(https://github.com/etcd-io/etcd/issues/15595): Re-enable after issue is fixed
|
||||
//RaftBeforeApplySnapPanic, RaftAfterApplySnapPanic, RaftAfterWALReleasePanic, RaftBeforeSaveSnapPanic, RaftAfterSaveSnapPanic,
|
||||
//BlackholeUntilSnapshot,
|
||||
}}
|
||||
)
|
||||
|
||||
|
@ -136,17 +136,18 @@ func TestRobustness(t *testing.T) {
|
||||
e2e.WithSnapshotCount(100),
|
||||
),
|
||||
},
|
||||
{
|
||||
name: "Snapshot",
|
||||
failpoint: RandomSnapshotFailpoint,
|
||||
traffic: &HighTraffic,
|
||||
config: *e2e.NewConfig(
|
||||
e2e.WithGoFailEnabled(true),
|
||||
e2e.WithSnapshotCount(100),
|
||||
e2e.WithSnapshotCatchUpEntries(100),
|
||||
e2e.WithPeerProxy(true),
|
||||
),
|
||||
},
|
||||
// TODO(https://github.com/etcd-io/etcd/issues/15595): Re-enable after issue is fixed
|
||||
//{
|
||||
// name: "Snapshot",
|
||||
// failpoint: RandomSnapshotFailpoint,
|
||||
// traffic: &HighTraffic,
|
||||
// config: *e2e.NewConfig(
|
||||
// e2e.WithGoFailEnabled(true),
|
||||
// e2e.WithSnapshotCount(100),
|
||||
// e2e.WithSnapshotCatchUpEntries(100),
|
||||
// e2e.WithPeerProxy(true),
|
||||
// ),
|
||||
//},
|
||||
}...)
|
||||
for _, scenario := range scenarios {
|
||||
if scenario.traffic == nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user