diff --git a/exporter/otlp-logs/test/opentelemetry/exporter/otlp/logs_exporter_test.rb b/exporter/otlp-logs/test/opentelemetry/exporter/otlp/logs_exporter_test.rb index a1f59c696..0b5b1745b 100644 --- a/exporter/otlp-logs/test/opentelemetry/exporter/otlp/logs_exporter_test.rb +++ b/exporter/otlp-logs/test/opentelemetry/exporter/otlp/logs_exporter_test.rb @@ -454,7 +454,7 @@ log_record_data = OpenTelemetry::TestHelpers.create_log_record_data _(exporter.export([log_record_data])).must_equal(FAILURE) _(log_stream.string).must_match( - /ERROR -- : OpenTelemetry error: Connection refused - Failed to open TCP connection/ + /ERROR -- : OpenTelemetry error:.*Failed to open TCP connection/ ) end end