diff --git a/internal/otelarrow/test/e2e_test.go b/internal/otelarrow/test/e2e_test.go index 852a0ff0308f..d02ec733917f 100644 --- a/internal/otelarrow/test/e2e_test.go +++ b/internal/otelarrow/test/e2e_test.go @@ -93,13 +93,6 @@ func (tc *testConsumer) ConsumeTraces(ctx context.Context, td ptrace.Traces) err timeout := time.Until(dead) require.Equal(tc.t, tc.expectDeadline, hasDeadline, "deadline set or not set: %v", timeout) - if tc.expectDeadline { - // expect allows 1/6 of the deadline to elapse in transit, - // so 1m becomes 50s. - expect := tc.expCfg.TimeoutSettings.Timeout * 5 / 6 - require.Less(tc.t, expect, timeout) - require.Greater(tc.t, tc.expCfg.TimeoutSettings.Timeout, timeout) - } return tc.sink.ConsumeTraces(ctx, td) }