Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'internal/praefect/nodes/sql_elector_test.go')
-rw-r--r--internal/praefect/nodes/sql_elector_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/praefect/nodes/sql_elector_test.go b/internal/praefect/nodes/sql_elector_test.go
index 7e3dfd6f2..f22980be2 100644
--- a/internal/praefect/nodes/sql_elector_test.go
+++ b/internal/praefect/nodes/sql_elector_test.go
@@ -539,7 +539,7 @@ func TestFailoverTimeout(t *testing.T) {
t.Run(tc.desc, func(t *testing.T) {
elector := newSQLElector("", config.Config{
Failover: config.Failover{
- FailoverTimeout: tc.failoverTimeout,
+ Timeout: tc.failoverTimeout,
},
}, nil, testhelper.NewDiscardingLogEntry(t), []*nodeStatus{
{},