Skip to content

Commit

Permalink
Comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusz-sekara committed Oct 8, 2024
1 parent 243a751 commit dbe16f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions execute/tokendata/observer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,9 @@ func Test_CompositeTokenDataObserver_ParallelExecution(t *testing.T) {
lggr := logger.Test(t)

t.Cleanup(func() {
// Sync the logger state after timeouting underlying Go routines in the tests
// If the killed routine is woken up after the test is finished, it will try to log which cause zap logger
// to panic
_ = lggr.Sync()
})

Expand Down

0 comments on commit dbe16f0

Please sign in to comment.