diff --git a/test/OpenTelemetry.Exporter.OpenTelemetryProtocol.Tests/OtlpLogExporterTests.cs b/test/OpenTelemetry.Exporter.OpenTelemetryProtocol.Tests/OtlpLogExporterTests.cs index 3d2714b2717..224cf985654 100644 --- a/test/OpenTelemetry.Exporter.OpenTelemetryProtocol.Tests/OtlpLogExporterTests.cs +++ b/test/OpenTelemetry.Exporter.OpenTelemetryProtocol.Tests/OtlpLogExporterTests.cs @@ -90,12 +90,6 @@ public void UserHttpFactoryCalledWhenUsingHttpProtobuf() { using var exporter = new OtlpLogExporter(options); }); - - options.HttpClientFactory = () => null; - Assert.Throws(() => - { - using var exporter = new OtlpLogExporter(options); - }); } [Fact]