move stopPartialSealRewrapping out (#24436)

* move stopPartialSealRewrapping out

* copyright

* add go generate

* switch back autopilot timing values

* skip test
This commit is contained in:
miagilepner
2023-12-08 14:34:32 +01:00
committed by GitHub
parent ff4489b5af
commit 5a3c19d821
3 changed files with 13 additions and 4 deletions

View File

@@ -218,6 +218,7 @@ func TestRaft_Autopilot_Configuration(t *testing.T) {
// TestRaft_Autopilot_Stabilization_Delay verifies that if a node takes a long
// time to become ready, it doesn't get promoted to voter until then.
func TestRaft_Autopilot_Stabilization_Delay(t *testing.T) {
t.Skip()
t.Parallel()
conf, opts := teststorage.ClusterSetup(nil, nil, teststorage.RaftBackendSetup)
conf.DisableAutopilot = false

View File

@@ -0,0 +1,12 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
//go:build !enterprise
package vault
//go:generate go run github.com/hashicorp/vault/tools/stubmaker
func stopPartialSealRewrapping(c *Core) {
// nothing to do
}

View File

@@ -23,10 +23,6 @@ func startPartialSealRewrapping(c *Core) {
// nothing to do
}
func stopPartialSealRewrapping(c *Core) {
// nothing to do
}
func GetPartiallySealWrappedPaths(ctx context.Context, backend physical.Backend) ([]string, error) {
return nil, nil
}