mirror of
https://github.com/hashicorp/vault.git
synced 2025-12-16 15:01:13 +01:00
Disable flaky test: discard_role_newer_rotation_date (#9957)
* Temporarily disable discard_role_newer_rotation_date
This commit is contained in:
parent
281a09fe4e
commit
4aa65c1dcc
@ -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
|
// Second scenario, WAL contains a role name that does exist, but the role's
|
||||||
// LastVaultRotation is greater than the WAL has
|
// LastVaultRotation is greater than the WAL has
|
||||||
func TestBackend_Static_QueueWAL_discard_role_newer_rotation_date(t *testing.T) {
|
func TestBackend_Static_QueueWAL_discard_role_newer_rotation_date(t *testing.T) {
|
||||||
|
t.Skip("temporarily disabled due to intermittent failures")
|
||||||
|
|
||||||
cluster, sys := getCluster(t)
|
cluster, sys := getCluster(t)
|
||||||
defer cluster.Cleanup()
|
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
|
// Helper to assert the number of WAL entries is what we expect
|
||||||
func assertWALCount(t *testing.T, s logical.Storage, expected int, key string) {
|
func assertWALCount(t *testing.T, s logical.Storage, expected int, key string) {
|
||||||
|
t.Helper()
|
||||||
|
|
||||||
var count int
|
var count int
|
||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
keys, err := framework.ListWAL(ctx, s)
|
keys, err := framework.ListWAL(ctx, s)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user