Skip to content

Commit

Permalink
chore(tests): Skip flakey cerboshub audit backend test
Browse files Browse the repository at this point in the history
The backoff retry is triggered in a separate goroutine, which isn't
guaranteed to complete before the test does. I'm skipping now to unblock
the build and will address in a followup PR

Signed-off-by: Sam Lock <sam@swlock.co.uk>
  • Loading branch information
Sambigeara committed Mar 4, 2024
1 parent b784d5f commit cee06eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/audit/cerboshub/cerboshub_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ func TestCerbosHubLog(t *testing.T) {
})

t.Run("deletesSyncKeysAfterBackoff", func(t *testing.T) {
t.Skip("TODO: We need to block until retry goroutine is complete")
t.Cleanup(purgeKeys)

loadedKeys := loadData(t, db, startDate)
Expand Down

0 comments on commit cee06eb

Please sign in to comment.