From da3fc1234718dbd4358e0f99aa730c717d947b32 Mon Sep 17 00:00:00 2001 From: Tyler Yahn Date: Mon, 22 Nov 2021 09:40:32 -0800 Subject: [PATCH] Remove span check when testing returned error (#2411) --- exporters/otlp/otlptrace/otlptracegrpc/client_test.go | 1 - 1 file changed, 1 deletion(-) diff --git a/exporters/otlp/otlptrace/otlptracegrpc/client_test.go b/exporters/otlp/otlptrace/otlptracegrpc/client_test.go index 439efff99..d99afbb3f 100644 --- a/exporters/otlp/otlptrace/otlptracegrpc/client_test.go +++ b/exporters/otlp/otlptrace/otlptracegrpc/client_test.go @@ -350,7 +350,6 @@ func TestExportSpansTimeoutHonored(t *testing.T) { close(exportBlock) require.Equal(t, codes.DeadlineExceeded, status.Convert(err).Code()) - require.Len(t, mc.getSpans(), 0) } func TestNew_withInvalidSecurityConfiguration(t *testing.T) {