mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
Disable flaky test: discard_role_newer_rotation_date (#9957)
* Temporarily disable discard_role_newer_rotation_date
This commit is contained in:
@@ -506,6 +506,8 @@ func TestBackend_Static_QueueWAL_discard_role_not_found(t *testing.T) {
|
||||
// Second scenario, WAL contains a role name that does exist, but the role's
|
||||
// LastVaultRotation is greater than the WAL has
|
||||
func TestBackend_Static_QueueWAL_discard_role_newer_rotation_date(t *testing.T) {
|
||||
t.Skip("temporarily disabled due to intermittent failures")
|
||||
|
||||
cluster, sys := getCluster(t)
|
||||
defer cluster.Cleanup()
|
||||
|
||||
@@ -661,6 +663,8 @@ func TestBackend_Static_QueueWAL_discard_role_newer_rotation_date(t *testing.T)
|
||||
|
||||
// Helper to assert the number of WAL entries is what we expect
|
||||
func assertWALCount(t *testing.T, s logical.Storage, expected int, key string) {
|
||||
t.Helper()
|
||||
|
||||
var count int
|
||||
ctx := context.Background()
|
||||
keys, err := framework.ListWAL(ctx, s)
|
||||
|
||||
Reference in New Issue
Block a user