From 33058a0edecb7bcf6f730c0848781eb7da76cc5a Mon Sep 17 00:00:00 2001 From: Chun-Hung Tseng Date: Thu, 1 Aug 2024 20:20:48 +0200 Subject: [PATCH] Increase raftAfterSave to 3 seconds Reference: - https://github.com/etcd-io/etcd/issues/18240 Signed-off-by: Chun-Hung Tseng --- tests/robustness/failpoint/gofail.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/robustness/failpoint/gofail.go b/tests/robustness/failpoint/gofail.go index b4f4d354842..1cf72806a45 100644 --- a/tests/robustness/failpoint/gofail.go +++ b/tests/robustness/failpoint/gofail.go @@ -59,7 +59,7 @@ var ( ApplyBeforeOpenSnapshot Failpoint = goPanicFailpoint{"applyBeforeOpenSnapshot", triggerBlackhole{waitTillSnapshot: true}, Follower} BeforeApplyOneConfChangeSleep Failpoint = killAndGofailSleep{"beforeApplyOneConfChange", time.Second} RaftBeforeSaveSleep Failpoint = gofailSleepAndDeactivate{"raftBeforeSave", time.Second} - RaftAfterSaveSleep Failpoint = gofailSleepAndDeactivate{"raftAfterSave", time.Second} + RaftAfterSaveSleep Failpoint = gofailSleepAndDeactivate{"raftAfterSave", 3 * time.Second} SleepBeforeSendWatchResponse Failpoint = gofailSleepAndDeactivate{"beforeSendWatchResponse", time.Second} )