Disable flaky test: discard_role_newer_rotation_date (#9957)

* Temporarily disable discard_role_newer_rotation_date
This commit is contained in:
Mark Gritter
2020-09-15 13:10:59 -05:00
committed by GitHub
parent 281a09fe4e
commit 4aa65c1dcc

View File

@@ -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)