Skip to content

Commit

Permalink
removed DeadlineExceeded Ignored test case
Browse files Browse the repository at this point in the history
  • Loading branch information
prasad-shirodkar committed Apr 17, 2024
1 parent 7373862 commit fa49342
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions exporters/stdout/stdoutmetric/exporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,6 @@ func testCtxErrIgnored(factory func(*testing.T) func(context.Context) error) fun
ctx, cancel := context.WithCancel(context.Background())
t.Cleanup(cancel)

t.Run("DeadlineExceeded Ignored", func(t *testing.T) {
innerCtx, innerCancel := context.WithTimeout(ctx, time.Nanosecond)
t.Cleanup(innerCancel)

f := factory(t)
assert.NoError(t, f(innerCtx))
})

t.Run("Canceled Ignored", func(t *testing.T) {
innerCtx, innerCancel := context.WithCancel(ctx)
innerCancel()
Expand Down

0 comments on commit fa49342

Please sign in to comment.