mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 02:02:43 +00:00
move stopPartialSealRewrapping out (#24436)
* move stopPartialSealRewrapping out * copyright * add go generate * switch back autopilot timing values * skip test
This commit is contained in:
@@ -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
|
||||
|
||||
12
vault/seal_rewwrap_stubs_oss.go
Normal file
12
vault/seal_rewwrap_stubs_oss.go
Normal 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
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user