Skip to content

Commit

Permalink
reverted
Browse files Browse the repository at this point in the history
  • Loading branch information
prasad-shirodkar committed Apr 20, 2024
1 parent 1909f88 commit c9f7c08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions exporters/stdout/stdoutmetric/exporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ func testCtxErrHonored(factory func(*testing.T) func(context.Context) error) fun
t.Run("DeadlineExceeded", func(t *testing.T) {
innerCtx, innerCancel := context.WithTimeout(ctx, time.Nanosecond)
t.Cleanup(innerCancel)
<-innerCtx.Done()

f := factory(t)
assert.ErrorIs(t, f(innerCtx), context.DeadlineExceeded)
Expand Down

0 comments on commit c9f7c08

Please sign in to comment.