From dfd68eb2611e85393d4a478f0e558ebf7f88bfce Mon Sep 17 00:00:00 2001 From: Josh Black Date: Thu, 25 Jan 2024 09:30:43 -0800 Subject: [PATCH] add some godocs --- physical/raft/raft_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/physical/raft/raft_test.go b/physical/raft/raft_test.go index 68839b06ff98..26bf0076036a 100644 --- a/physical/raft/raft_test.go +++ b/physical/raft/raft_test.go @@ -286,6 +286,7 @@ func TestRaft_VerifierEnabled(t *testing.T) { }) } +// TestRaft_ParseRaftWalBackend ensures that the raft_wal config option parses correctly and returns an error if not func TestRaft_ParseRaftWalBackend(t *testing.T) { raftDir := t.TempDir() conf := map[string]string{ @@ -408,6 +409,7 @@ func TestRaft_ParseRaftWalVerifierInterval(t *testing.T) { } } +// TestRaft_ParseAutopilotUpgradeVersion tests that autopilot_upgrade_version parses correctly and returns an error if not func TestRaft_ParseAutopilotUpgradeVersion(t *testing.T) { raftDir := t.TempDir() conf := map[string]string{