From 258dc91f0972851ced9e9782d3ceea4c6c8b26db Mon Sep 17 00:00:00 2001 From: miagilepner Date: Fri, 1 Sep 2023 14:06:14 +0200 Subject: [PATCH] Fix activity log test for enterprise (#22727) --- .../external_tests/activity_testonly/activity_testonly_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vault/external_tests/activity_testonly/activity_testonly_test.go b/vault/external_tests/activity_testonly/activity_testonly_test.go index 34b2b0608f..45f1fa3d3c 100644 --- a/vault/external_tests/activity_testonly/activity_testonly_test.go +++ b/vault/external_tests/activity_testonly/activity_testonly_test.go @@ -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{}{