tests/robustness: Disable testing network blackhole until #15595 is fixed

Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
This commit is contained in:
Marek Siarkowicz 2023-03-31 13:23:25 +02:00
parent e11a32366e
commit 013e25fab9
2 changed files with 17 additions and 14 deletions

View File

@ -66,8 +66,9 @@ var (
CompactBeforeSetFinishedCompactPanic, CompactAfterSetFinishedCompactPanic, CompactBeforeSetFinishedCompactPanic, CompactAfterSetFinishedCompactPanic,
CompactBeforeCommitBatchPanic, CompactAfterCommitBatchPanic, CompactBeforeCommitBatchPanic, CompactAfterCommitBatchPanic,
RaftBeforeLeaderSendPanic, RaftBeforeLeaderSendPanic,
BlackholePeerNetwork,
DelayPeerNetwork, DelayPeerNetwork,
// TODO(https://github.com/etcd-io/etcd/issues/15595): Re-enable after issue is fixed
//BlackholePeerNetwork,
} }
RandomOneNodeClusterFailpoint Failpoint = randomFailpoint{oneNodeClusterFailpoints} RandomOneNodeClusterFailpoint Failpoint = randomFailpoint{oneNodeClusterFailpoints}
RaftBeforeFollowerSendPanic Failpoint = goPanicFailpoint{"raftBeforeFollowerSend", nil, Follower} RaftBeforeFollowerSendPanic Failpoint = goPanicFailpoint{"raftBeforeFollowerSend", nil, Follower}
@ -78,8 +79,9 @@ var (
RaftBeforeSaveSnapPanic Failpoint = goPanicFailpoint{"raftBeforeSaveSnap", triggerBlackholeUntilSnapshot, Follower} RaftBeforeSaveSnapPanic Failpoint = goPanicFailpoint{"raftBeforeSaveSnap", triggerBlackholeUntilSnapshot, Follower}
RaftAfterSaveSnapPanic Failpoint = goPanicFailpoint{"raftAfterSaveSnap", triggerBlackholeUntilSnapshot, Follower} RaftAfterSaveSnapPanic Failpoint = goPanicFailpoint{"raftAfterSaveSnap", triggerBlackholeUntilSnapshot, Follower}
RandomSnapshotFailpoint Failpoint = randomFailpoint{[]Failpoint{ RandomSnapshotFailpoint Failpoint = randomFailpoint{[]Failpoint{
RaftBeforeApplySnapPanic, RaftAfterApplySnapPanic, RaftAfterWALReleasePanic, RaftBeforeSaveSnapPanic, RaftAfterSaveSnapPanic, // TODO(https://github.com/etcd-io/etcd/issues/15595): Re-enable after issue is fixed
BlackholeUntilSnapshot, //RaftBeforeApplySnapPanic, RaftAfterApplySnapPanic, RaftAfterWALReleasePanic, RaftBeforeSaveSnapPanic, RaftAfterSaveSnapPanic,
//BlackholeUntilSnapshot,
}} }}
) )

View File

@ -136,17 +136,18 @@ func TestRobustness(t *testing.T) {
e2e.WithSnapshotCount(100), e2e.WithSnapshotCount(100),
), ),
}, },
{ // TODO(https://github.com/etcd-io/etcd/issues/15595): Re-enable after issue is fixed
name: "Snapshot", //{
failpoint: RandomSnapshotFailpoint, // name: "Snapshot",
traffic: &HighTraffic, // failpoint: RandomSnapshotFailpoint,
config: *e2e.NewConfig( // traffic: &HighTraffic,
e2e.WithGoFailEnabled(true), // config: *e2e.NewConfig(
e2e.WithSnapshotCount(100), // e2e.WithGoFailEnabled(true),
e2e.WithSnapshotCatchUpEntries(100), // e2e.WithSnapshotCount(100),
e2e.WithPeerProxy(true), // e2e.WithSnapshotCatchUpEntries(100),
), // e2e.WithPeerProxy(true),
}, // ),
//},
}...) }...)
for _, scenario := range scenarios { for _, scenario := range scenarios {
if scenario.traffic == nil { if scenario.traffic == nil {