mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-04 20:06:27 +02:00
Fix activity log test for enterprise (#22727)
This commit is contained in:
parent
bd36e66ea6
commit
258dc91f09
@ -30,11 +30,11 @@ func Test_ActivityLog_LoseLeadership(t *testing.T) {
|
||||
t.Parallel()
|
||||
cluster := vault.NewTestCluster(t, nil, &vault.TestClusterOptions{
|
||||
HandlerFunc: vaulthttp.Handler,
|
||||
NumCores: 2,
|
||||
})
|
||||
cluster.Start()
|
||||
defer cluster.Cleanup()
|
||||
|
||||
testhelpers.WaitForActiveNodeAndStandbys(t, cluster)
|
||||
active := testhelpers.DeriveStableActiveCore(t, cluster)
|
||||
client := active.Client
|
||||
_, err := client.Logical().Write("sys/internal/counters/config", map[string]interface{}{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user