mirror of
https://github.com/hashicorp/vault.git
synced 2026-02-03 20:40:45 -05:00
vault/external_tests/raft: fix dropped test error (#14519)
This commit is contained in:
parent
7d47386896
commit
cd19aeaf5d
1 changed files with 3 additions and 0 deletions
|
|
@ -492,6 +492,9 @@ func TestRaft_SnapshotAPI(t *testing.T) {
|
|||
// Take a snapshot
|
||||
buf := new(bytes.Buffer)
|
||||
err := leaderClient.Sys().RaftSnapshot(buf)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
snap, err := io.ReadAll(buf)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
|
|
|
|||
Loading…
Reference in a new issue