mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Revert "tests/robustness: Disable testing network blackhole until #15595 is fixed"
This reverts commit 013e25fab9f76f0c1a00459555fe42b33f379eb9. Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
This commit is contained in:
parent
71ba0873e3
commit
03214c0239
@ -66,9 +66,8 @@ 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}
|
||||
@ -79,9 +78,8 @@ var (
|
||||
RaftBeforeSaveSnapPanic Failpoint = goPanicFailpoint{"raftBeforeSaveSnap", triggerBlackholeUntilSnapshot, Follower}
|
||||
RaftAfterSaveSnapPanic Failpoint = goPanicFailpoint{"raftAfterSaveSnap", triggerBlackholeUntilSnapshot, Follower}
|
||||
RandomSnapshotFailpoint Failpoint = randomFailpoint{[]Failpoint{
|
||||
// TODO(https://github.com/etcd-io/etcd/issues/15595): Re-enable after issue is fixed
|
||||
//RaftBeforeApplySnapPanic, RaftAfterApplySnapPanic, RaftAfterWALReleasePanic, RaftBeforeSaveSnapPanic, RaftAfterSaveSnapPanic,
|
||||
//BlackholeUntilSnapshot,
|
||||
RaftBeforeApplySnapPanic, RaftAfterApplySnapPanic, RaftAfterWALReleasePanic, RaftBeforeSaveSnapPanic, RaftAfterSaveSnapPanic,
|
||||
BlackholeUntilSnapshot,
|
||||
}}
|
||||
)
|
||||
|
||||
|
@ -137,18 +137,18 @@ func TestRobustness(t *testing.T) {
|
||||
e2e.WithSnapshotCount(100),
|
||||
),
|
||||
},
|
||||
// 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),
|
||||
// ),
|
||||
//},
|
||||
{
|
||||
name: "Snapshot",
|
||||
failpoint: RandomSnapshotFailpoint,
|
||||
traffic: &HighTraffic,
|
||||
config: *e2e.NewConfig(
|
||||
e2e.WithGoFailEnabled(true),
|
||||
e2e.WithSnapshotCount(100),
|
||||
e2e.WithSnapshotCatchUpEntries(100),
|
||||
e2e.WithPeerProxy(true),
|
||||
e2e.WithIsPeerTLS(true),
|
||||
),
|
||||
},
|
||||
}...)
|
||||
for _, scenario := range scenarios {
|
||||
if scenario.traffic == nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user