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{}{