Skip to content

Commit

Permalink
Fix data race in agent manager tests
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Harding <[email protected]>
  • Loading branch information
azdagron committed Oct 4, 2024
1 parent a716305 commit f6d3dc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/agent/manager/manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ func TestForceRotation(t *testing.T) {

// Wait until tainted authorities are fully processed, then retry synchronization
assert.Eventually(t, func() bool {
for _, logEntry := range logHook.Entries {
for _, logEntry := range logHook.AllEntries() {
if logEntry.Message == "Finished processing all tainted entries" {
return true
}
Expand Down

0 comments on commit f6d3dc5

Please sign in to comment.