tests: eliminate flakiness on TestRecovery (#7897)
This commit is contained in:
parent
ba38d6690a
commit
afa9510835
|
@ -124,9 +124,11 @@ func TestRecovery(t *testing.T) {
|
|||
cluster := vault.NewTestCluster(t, &conf, &opts)
|
||||
cluster.BarrierKeys = keys
|
||||
cluster.Start()
|
||||
testhelpers.EnsureCoresUnsealed(t, cluster)
|
||||
defer cluster.Cleanup()
|
||||
|
||||
testhelpers.EnsureCoresUnsealed(t, cluster)
|
||||
vault.TestWaitActive(t, cluster.Cores[0].Core)
|
||||
|
||||
client := cluster.Cores[0].Client
|
||||
client.SetToken(rootToken)
|
||||
secret, err := client.Logical().List("secret/")
|
||||
|
|
Loading…
Reference in a new issue